From e18d6d18e6c18017587f10d6eeb7c89004c04587 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Fri, 23 Jul 2021 11:14:40 +0200 Subject: [PATCH] wip --- slsDetectorSoftware/src/CmdProxy.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/slsDetectorSoftware/src/CmdProxy.h b/slsDetectorSoftware/src/CmdProxy.h index cb4319518..51ade1013 100644 --- a/slsDetectorSoftware/src/CmdProxy.h +++ b/slsDetectorSoftware/src/CmdProxy.h @@ -794,6 +794,7 @@ class CmdProxy { {"clkdiv", &CmdProxy::ClockDivider}, {"highvoltage", &CmdProxy::highvoltage}, {"powerchip", &CmdProxy::powerchip}, + {"configchip", &CmdProxy::configchip}, {"imagetest", &CmdProxy::imagetest}, {"extsig", &CmdProxy::ExternalSignal}, {"parallel", &CmdProxy::parallel}, @@ -1318,6 +1319,15 @@ class CmdProxy { "enabled.\n\t[Mythen3][Gotthard2] Default is 1. If module not " "connected or wrong module, powerchip will fail."); + INTEGER_COMMAND_VEC_ID( + configchip, isChipConfigured, configureChip, StringTo, + "[0, 1]\n\t[Jungfrau] Configure the chip. \n\t[Moench] Default is 0. \n\t[Jungfrau] Default is 0. Get " + "will return power status. Can be off if temperature event occured " + "(temperature over temp_threshold with temp_control " + "enabled.\n\t[Mythen3][Gotthard2] Default is 1. If module not " + "connected or wrong module, powerchip will fail."); + + INTEGER_COMMAND_VEC_ID( imagetest, getImageTestMode, setImageTestMode, StringTo, "[0, 1]\n\t[Gotthard] 1 adds channel intensity with precalculated "