
Public Member Functions | |
| QSlowControlClient () | |
| empty constructor | |
| QSlowControlClient (const std::string &address, const std::string &port) | |
| constructor | |
| bool | SetWriteMode (bool canWrite) |
| set write mode | |
| bool | SetBaseMode () |
| set server mode to "base" | |
| bool | SetRunMode () |
| set server mode to "run" | |
| bool | SetTuningMode (unsigned int basket) |
| set server mode to "tuning" | |
| bool | GetMode (QSlowTypes::QSlowMode_t &mode) |
| get current slow server mode | |
| bool | GetBasket (int &basket) |
| Get current settings basket. | |
| bool | LoadDevice (QSlowTypes::QSlowDevice_t dev, QSlowTypes::QSlowEleInterface_t iface) |
| Load the specified device controller using the specified communication interface. | |
| bool | GetInterface (QSlowTypes::QSlowDevice_t dev, QSlowTypes::QSlowEleInterface_t &iface) |
| Get used interface for the specified device controller. | |
| bool | GetFEInterface (QSlowTypes::QSlowEleInterface_t &iface) |
| Get front-end interface. | |
| bool | GetBSInterface (QSlowTypes::QSlowEleInterface_t &iface) |
| Get Bessel interface. | |
| bool | GetPSInterface (QSlowTypes::QSlowEleInterface_t &iface) |
| Get Pulser interface. | |
| bool | SetFEInterface (QSlowTypes::QSlowEleInterface_t iface) |
| Load the Front-End controller using the specified communication interface. | |
| bool | SetBSInterface (QSlowTypes::QSlowEleInterface_t iface) |
| Load the Bessel controller using the specified communication interface. | |
| bool | SetPSInterface (QSlowTypes::QSlowEleInterface_t iface) |
| Load the pulser controlled using the specified communication interface. | |
| bool | WritePulser (unsigned int pulseId, char mem0, char mem1, char mem2, char mem3) |
| write pulser registers | |
| bool | GetPulserRegister (unsigned int id, size_t reg, int &value) |
| Get Pulser register. | |
| bool | SetEleRegister (unsigned int lg, size_t reg, int value) |
| set Front End or Bessel register | |
| bool | GetEleRegister (unsigned int lg, size_t reg, int &value) |
| Get Front End or Bessel register. | |
| bool | SetFEGain (unsigned int lg, int value) |
| set Front End bias | |
| bool | GetFEGain (unsigned int lg, int &value) |
| get Front End Gain | |
| bool | SetFEBias (unsigned int lg, int value) |
| set Front End Gain | |
| bool | GetFEBias (unsigned int lg, int &value) |
| get Front End bias | |
| bool | GetFEBiasPolarity (unsigned int lg, bool &pol) |
| get Front End bias polarity | |
| bool | SetFEBiasPolarity (unsigned int lg, bool pol) |
| set Front End bias polarity | |
| bool | InvertFEBiasPolarity (unsigned int lg) |
| invert Front End bias polarity | |
| bool | SetFELoadResistor (unsigned int lg, bool rload) |
| set Front End load resitor value. | |
| bool | GetFELoadResistor (unsigned int lg, bool &rload) |
| get Front End load resitor value. | |
| bool | SetFEInput (unsigned int lg, bool input) |
| set Front End input. | |
| bool | GetFEInput (unsigned int lg, bool &input) |
| get Front End input. | |
| bool | SetFETestSignal (unsigned int lg, int pos_val, int neg_val) |
| when the input in connected to the test signal generator set the test signal voltage (positive and negatice) | |
| bool | GetFETestSignal (unsigned int lg, int &pos_val, int &neg_val) |
| when the input in connected to the test signal generator get the test signal voltage (positive and negatice) | |
| bool | AdjustFEOffset (unsigned int lg) |
| adjust baseline baseline | |
| bool | SetFEOffsetDAC (unsigned int lg, int value) |
| write the offset DAC on the Front End. | |
| bool | GetFEOffsetDAC (unsigned int lg, int &value) |
| read the offset DAC from the Front End | |
| bool | SetFEOffsetMSB (unsigned int lg, int value) |
| write the offset MSBs on the Front End . | |
| bool | GetFEOffsetMSB (unsigned int lg, int &value) |
| read offset MSBs from the Front End | |
| bool | GetFEOffsetPolarity (unsigned int lg, bool &pol) |
| get Front End offset polarity | |
| bool | SetFEOffsetPolarity (unsigned int lg, bool pol) |
| set Front End offset polarity | |
| bool | InvertFEOffsetPolarity (unsigned int lg) |
| invert Front End offset polarity | |
| bool | GetFEOffsetSpecialBit (unsigned int lg, bool &status) |
| get Front End offset special bit | |
| bool | SetFEOffsetSpecialBit (unsigned int lg, bool status) |
| set Front End offset special bit | |
| bool | InvertFEOffsetSpecialBit (unsigned int lg) |
| invert Front End offset special bit | |
| bool | SetBSCutFreq (unsigned int lg, int cutFreq) |
| set the cut frequency on the Bessel. | |
| bool | GetBSCutFreq (unsigned int lg, int &cutFreq) |
| get the frequency from the Bessel. | |
| bool | SetBSFilterEnable (unsigned int lg, bool status) |
| set Filter enable Status | |
| bool | GetBSFilterEnable (unsigned int lg, bool &status) |
| get Filter enable Status | |
| bool | TurnBSFilterON (unsigned int lg) |
| enable Filter | |
| bool | TurnBSFilterOFF (unsigned int lg) |
| Disable Filter. | |
| bool | SetPSupplyInterface (QSlowTypes::QSlowEleInterface_t iface) |
| Load the Power Supply controller using the specified communication interface. | |
| bool | GetPSupplyInterface (QSlowTypes::QSlowEleInterface_t &iface) |
| Get power supply interface. | |
| bool | SetPSupplyVset (unsigned int channel, double vset) |
| set power supply voltage | |
| bool | SetPSupplyIset (unsigned int channel, double iset) |
| set power supply current | |
| bool | SetPSupplyVsetDiff (double vset) |
| set power supply differential voltage vset | |
| bool | GetPSupplyVsetDiff (double &vset) |
| get power supply differential voltage vset | |
| bool | GetPSupplyVoutDiff (double &vout) |
| get power supply differential voltage vset | |
| bool | GetPSupplyVset (unsigned int channel, double &vset) |
| get power supply voltage set | |
| bool | GetPSupplyIset (unsigned int channel, double &iset) |
| get power supply current set | |
| bool | GetPSupplyVout (unsigned int channel, double &vout) |
| get power supply output voltage | |
| bool | GetPSupplyIout (unsigned int channel, double &iout) |
| get power supply output current | |
| bool | SetPSupplyOutputEnable (unsigned int channel, bool status) |
| set power supply output enable | |
| bool | GetPSupplyOutputEnable (unsigned int channel, bool &status) |
| get power supply output enable | |
| bool | TurnPSupplyOutputON (unsigned int channel) |
| enable power supply output | |
| bool | TurnPSupplyOutputOFF (unsigned int channel) |
| disable power supply output | |
| bool QSlowControlClient::SetWriteMode | ( | bool | canWrite | ) |
set write mode
| canWrite | true if write mode is on, false if it is off |
References QBaseClient::ExecCommand(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by ApplyElectronicsConfiguration(), QWPSlowConfigHandler::CheckSlowStatus(), QLCSlowConfigHandler::CheckSlowStatus(), QPulserSingleShot::Fire(), QEleInterface::InitClient(), and QBasePulserController::InitSlowClient().
| bool QSlowControlClient::SetBaseMode | ( | ) |
set server mode to "base"
References QBaseClient::ExecCommand(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::SetRunMode | ( | ) |
set server mode to "run"
References QBaseClient::ExecCommand(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::SetTuningMode | ( | unsigned int | basket | ) |
set server mode to "tuning"
| basket | db settings basket to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::CheckSlowStatus(), QLCSlowConfigHandler::CheckSlowStatus(), QPulserSingleShot::Fire(), QEleInterface::InitClient(), and QBasePulserController::InitSlowClient().
| bool QSlowControlClient::GetMode | ( | QSlowTypes::QSlowMode_t & | mode | ) |
get current slow server mode
| mode | this variable is set to current server mode |
References QBaseClient::ExecCommand(), QBaseClient::GetString(), QError::Set(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetModifier().
Referenced by QWPSlowConfigHandler::CheckSlowStatus(), QLCSlowConfigHandler::CheckSlowStatus(), QPulserSingleShot::Fire(), QEleInterface::InitClient(), and QBasePulserController::InitSlowClient().
| bool QSlowControlClient::GetBasket | ( | int & | basket | ) |
Get current settings basket.
| basket | this variable is set to current settings basket |
References QBaseClient::ExecCommand(), QBaseClient::GetInt(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetModifier().
Referenced by QWPSlowConfigHandler::CheckSlowStatus(), QLCSlowConfigHandler::CheckSlowStatus(), QPulserSingleShot::Fire(), QEleInterface::InitClient(), and QBasePulserController::InitSlowClient().
| bool QSlowControlClient::LoadDevice | ( | QSlowTypes::QSlowDevice_t | dev, | |
| QSlowTypes::QSlowEleInterface_t | iface | |||
| ) |
Load the specified device controller using the specified communication interface.
| dev | device to load | |
| iface | used communication interface |
References QBaseClient::ExecCommand(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QLCSlowConfigHandler::Clear(), QPulserSingleShot::Fire(), QBasePulserController::InitSlowClient(), QWPSlowConfigHandler::QWPSlowConfigHandler(), SetBSInterface(), SetFEInterface(), SetPSInterface(), and SetPSupplyInterface().
| bool QSlowControlClient::GetInterface | ( | QSlowTypes::QSlowDevice_t | dev, | |
| QSlowTypes::QSlowEleInterface_t & | iface | |||
| ) |
Get used interface for the specified device controller.
| dev | device | |
| iface | returned communication interface |
References QBaseClient::ExecCommand(), QBaseClient::GetString(), QError::Set(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by GetBSInterface(), GetFEInterface(), GetPSInterface(), and GetPSupplyInterface().
| bool QSlowControlClient::GetFEInterface | ( | QSlowTypes::QSlowEleInterface_t & | iface | ) |
Get front-end interface.
| iface | current communication interface |
References GetInterface().
| bool QSlowControlClient::GetBSInterface | ( | QSlowTypes::QSlowEleInterface_t & | iface | ) |
Get Bessel interface.
| iface | current communication interface |
References GetInterface().
| bool QSlowControlClient::GetPSInterface | ( | QSlowTypes::QSlowEleInterface_t & | iface | ) |
Get Pulser interface.
| iface | current communication interface |
References GetInterface().
| bool QSlowControlClient::SetFEInterface | ( | QSlowTypes::QSlowEleInterface_t | iface | ) |
Load the Front-End controller using the specified communication interface.
| iface | used communication interface |
References LoadDevice().
| bool QSlowControlClient::SetBSInterface | ( | QSlowTypes::QSlowEleInterface_t | iface | ) |
Load the Bessel controller using the specified communication interface.
| iface | used communication interface |
References LoadDevice().
| bool QSlowControlClient::SetPSInterface | ( | QSlowTypes::QSlowEleInterface_t | iface | ) |
Load the pulser controlled using the specified communication interface.
| iface | used communication interface |
References LoadDevice().
| bool QSlowControlClient::WritePulser | ( | unsigned int | pulseId, | |
| char | mem0, | |||
| char | mem1, | |||
| char | mem2, | |||
| char | mem3 | |||
| ) |
write pulser registers
| pulseId | pulser id as found in db | |
| mem0 | mem0 (1 byte) | |
| mem0 | mem1 (1 byte) | |
| mem0 | mem2 (1 byte) | |
| mem0 | mem3 (1 byte) |
References QNwMessageBuilder::Clear(), QBaseClient::ExecCommand(), QStringHandler::IntToHexString(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QPulserSingleShot::Fire().
| bool QSlowControlClient::GetPulserRegister | ( | unsigned int | id, | |
| size_t | reg, | |||
| int & | value | |||
| ) |
Get Pulser register.
| reg | register to be get | |
| value,register | get value |
References QBaseClient::ExecCommand(), QBaseClient::GetInt(), QStringHandler::IntToString(), QError::Set(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::SetEleRegister | ( | unsigned int | lg, | |
| size_t | reg, | |||
| int | value | |||
| ) |
set Front End or Bessel register
| reg | register to be set | |
| value | value to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QError::Set(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::GetEleRegister | ( | unsigned int | lg, | |
| size_t | reg, | |||
| int & | value | |||
| ) |
Get Front End or Bessel register.
| reg | register to be set | |
| value,register | get value |
References QBaseClient::ExecCommand(), QBaseClient::GetInt(), QStringHandler::IntToString(), QError::Set(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::SetFEGain | ( | unsigned int | lg, | |
| int | value | |||
| ) |
set Front End bias
| value | this variable is bias value to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::GetFEGain | ( | unsigned int | lg, | |
| int & | value | |||
| ) |
get Front End Gain
| value | this variable is set to the get gain value |
References QBaseClient::ExecCommand(), QBaseClient::GetInt(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QEleInterface::ReadHardware().
| bool QSlowControlClient::SetFEBias | ( | unsigned int | lg, | |
| int | value | |||
| ) |
set Front End Gain
| value | this variable is the gain value to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::GetFEBias | ( | unsigned int | lg, | |
| int & | value | |||
| ) |
get Front End bias
| value | this variable is set to the get bias value |
References QBaseClient::ExecCommand(), QBaseClient::GetInt(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QEleInterface::ReadHardware().
| bool QSlowControlClient::GetFEBiasPolarity | ( | unsigned int | lg, | |
| bool & | pol | |||
| ) |
get Front End bias polarity
| pol | this variable is set to the get bias polarity |
References QBaseClient::ExecCommand(), QBaseClient::GetBool(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by InvertFEBiasPolarity(), and QEleInterface::ReadHardware().
| bool QSlowControlClient::SetFEBiasPolarity | ( | unsigned int | lg, | |
| bool | pol | |||
| ) |
set Front End bias polarity
| pol,this | variable is the bias polarity to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), InvertFEBiasPolarity(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::InvertFEBiasPolarity | ( | unsigned int | lg | ) |
invert Front End bias polarity
References GetFEBiasPolarity(), and SetFEBiasPolarity().
| bool QSlowControlClient::SetFELoadResistor | ( | unsigned int | lg, | |
| bool | rload | |||
| ) |
set Front End load resitor value.
| rload | this variable is the load resistor value to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::GetFELoadResistor | ( | unsigned int | lg, | |
| bool & | rload | |||
| ) |
get Front End load resitor value.
| rload | this variable is set to the get load reistance |
References QBaseClient::ExecCommand(), QBaseClient::GetBool(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QEleInterface::ReadHardware().
| bool QSlowControlClient::SetFEInput | ( | unsigned int | lg, | |
| bool | input | |||
| ) |
set Front End input.
| input | this variable specified the selected input (bolometer or test signal) |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::GetFEInput | ( | unsigned int | lg, | |
| bool & | input | |||
| ) |
get Front End input.
| input | this variable is set with the current selected input (bolometer or test signal |
References QBaseClient::ExecCommand(), QBaseClient::GetBool(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QEleInterface::ReadHardware().
| bool QSlowControlClient::SetFETestSignal | ( | unsigned int | lg, | |
| int | pos_val, | |||
| int | neg_val | |||
| ) |
when the input in connected to the test signal generator set the test signal voltage (positive and negatice)
| pos_val | positive value | |
| neg_val | negative value |
References QNwMessageBuilder::Clear(), QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::GetFETestSignal | ( | unsigned int | lg, | |
| int & | pos_val, | |||
| int & | neg_val | |||
| ) |
when the input in connected to the test signal generator get the test signal voltage (positive and negatice)
| pos_val | this variable is set with the current positive value | |
| neg_val | this variable is set with the current negative value |
References QNwMessageBuilder::Clear(), QBaseClient::ExecCommand(), QBaseClient::GetInt(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QEleInterface::ReadHardware().
| bool QSlowControlClient::AdjustFEOffset | ( | unsigned int | lg | ) |
adjust baseline baseline
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), and QLCSlowConfigHandler::ApplyConfig().
| bool QSlowControlClient::SetFEOffsetDAC | ( | unsigned int | lg, | |
| int | value | |||
| ) |
write the offset DAC on the Front End.
| value,value | to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::GetFEOffsetDAC | ( | unsigned int | lg, | |
| int & | value | |||
| ) |
read the offset DAC from the Front End
| value,value | get |
References QBaseClient::ExecCommand(), QBaseClient::GetInt(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), and QEleInterface::ReadHardware().
| bool QSlowControlClient::SetFEOffsetMSB | ( | unsigned int | lg, | |
| int | value | |||
| ) |
write the offset MSBs on the Front End .
| value,DAC | value to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::GetFEOffsetMSB | ( | unsigned int | lg, | |
| int & | value | |||
| ) |
read offset MSBs from the Front End
| value,value | get |
References QBaseClient::ExecCommand(), QBaseClient::GetInt(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), and QEleInterface::ReadHardware().
| bool QSlowControlClient::GetFEOffsetPolarity | ( | unsigned int | lg, | |
| bool & | pol | |||
| ) |
get Front End offset polarity
| pol | this variable is set to the get bias polarity |
References QBaseClient::ExecCommand(), QBaseClient::GetBool(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), InvertFEOffsetPolarity(), InvertFEOffsetSpecialBit(), and QEleInterface::ReadHardware().
| bool QSlowControlClient::SetFEOffsetPolarity | ( | unsigned int | lg, | |
| bool | pol | |||
| ) |
set Front End offset polarity
| pol,this | variable is the bias polarity to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), InvertFEOffsetPolarity(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::InvertFEOffsetPolarity | ( | unsigned int | lg | ) |
invert Front End offset polarity
References GetFEOffsetPolarity(), and SetFEOffsetPolarity().
| bool QSlowControlClient::GetFEOffsetSpecialBit | ( | unsigned int | lg, | |
| bool & | status | |||
| ) |
get Front End offset special bit
| pol | this variable is set to the get special bit |
References QBaseClient::ExecCommand(), QBaseClient::GetBool(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), and QEleInterface::ReadHardware().
| bool QSlowControlClient::SetFEOffsetSpecialBit | ( | unsigned int | lg, | |
| bool | status | |||
| ) |
set Front End offset special bit
| pol,this | variable is the special bit to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by QWPSlowConfigHandler::ApplyConfig(), QLCSlowConfigHandler::ApplyConfig(), InvertFEOffsetSpecialBit(), and QEleInterface::WriteChannel().
| bool QSlowControlClient::InvertFEOffsetSpecialBit | ( | unsigned int | lg | ) |
invert Front End offset special bit
References GetFEOffsetPolarity(), and SetFEOffsetSpecialBit().
| bool QSlowControlClient::SetBSCutFreq | ( | unsigned int | lg, | |
| int | cutFreq | |||
| ) |
set the cut frequency on the Bessel.
| value,cut | frequency value to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::GetBSCutFreq | ( | unsigned int | lg, | |
| int & | cutFreq | |||
| ) |
get the frequency from the Bessel.
| value,cut | frequency value get from the Bessel |
References QBaseClient::ExecCommand(), QBaseClient::GetInt(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::SetBSFilterEnable | ( | unsigned int | lg, | |
| bool | status | |||
| ) |
set Filter enable Status
| pol,this | variable is the enable status to be loaded |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by TurnBSFilterOFF(), and TurnBSFilterON().
| bool QSlowControlClient::GetBSFilterEnable | ( | unsigned int | lg, | |
| bool & | status | |||
| ) |
get Filter enable Status
| pol,filter | enable status get from the Bessel |
References QBaseClient::ExecCommand(), QBaseClient::GetBool(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::TurnBSFilterON | ( | unsigned int | lg | ) |
enable Filter
References SetBSFilterEnable().
| bool QSlowControlClient::TurnBSFilterOFF | ( | unsigned int | lg | ) |
Disable Filter.
References SetBSFilterEnable().
| bool QSlowControlClient::SetPSupplyInterface | ( | QSlowTypes::QSlowEleInterface_t | iface | ) |
Load the Power Supply controller using the specified communication interface.
| iface | used communication interface |
References LoadDevice().
| bool QSlowControlClient::GetPSupplyInterface | ( | QSlowTypes::QSlowEleInterface_t & | iface | ) |
Get power supply interface.
| iface | current communication interface |
References GetInterface().
| bool QSlowControlClient::SetPSupplyVset | ( | unsigned int | channel, | |
| double | vset | |||
| ) |
set power supply voltage
| vset,returned | output voltage |
References QStringHandler::DoubleToString(), QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by SetPSupplyVsetDiff().
| bool QSlowControlClient::SetPSupplyIset | ( | unsigned int | channel, | |
| double | iset | |||
| ) |
set power supply current
| iset,returned | set current |
References QStringHandler::DoubleToString(), QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::SetPSupplyVsetDiff | ( | double | vset | ) |
set power supply differential voltage vset
| vset | voltage in V that is set both as V+ and V-. |
References SetPSupplyVset().
Referenced by ApplyElectronicsConfiguration(), and QLCSlowConfigHandler::UpdateExternalBias().
| bool QSlowControlClient::GetPSupplyVsetDiff | ( | double & | vset | ) |
get power supply differential voltage vset
| vset | voltage in V. It is the average of V+ and V-. |
References GetPSupplyVset().
| bool QSlowControlClient::GetPSupplyVoutDiff | ( | double & | vout | ) |
get power supply differential voltage vset
| vout | differential voltage in V. It is the average of Vout+ and Vout-. |
References GetPSupplyVout().
Referenced by QLCSlowConfigHandler::Consolidate().
| bool QSlowControlClient::GetPSupplyVset | ( | unsigned int | channel, | |
| double & | vset | |||
| ) |
get power supply voltage set
| vset,voltage | to set |
References QBaseClient::ExecCommand(), QBaseClient::GetDouble(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by GetPSupplyVsetDiff().
| bool QSlowControlClient::GetPSupplyIset | ( | unsigned int | channel, | |
| double & | iset | |||
| ) |
get power supply current set
| vset,voltage | to set |
References QBaseClient::ExecCommand(), QBaseClient::GetDouble(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::GetPSupplyVout | ( | unsigned int | channel, | |
| double & | vout | |||
| ) |
get power supply output voltage
| vout,returned | output voltage in V |
References QBaseClient::ExecCommand(), QBaseClient::GetDouble(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
Referenced by GetPSupplyVoutDiff().
| bool QSlowControlClient::GetPSupplyIout | ( | unsigned int | channel, | |
| double & | iout | |||
| ) |
get power supply output current
| vout,returned | output current in A |
References QBaseClient::ExecCommand(), QBaseClient::GetDouble(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::SetPSupplyOutputEnable | ( | unsigned int | channel, | |
| bool | status | |||
| ) |
set power supply output enable
| status,enable | status to set |
References QBaseClient::ExecCommand(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameter().
Referenced by TurnPSupplyOutputOFF(), and TurnPSupplyOutputON().
| bool QSlowControlClient::GetPSupplyOutputEnable | ( | unsigned int | channel, | |
| bool & | status | |||
| ) |
get power supply output enable
| status,returned | output enable |
References QBaseClient::ExecCommand(), QBaseClient::GetBool(), QStringHandler::IntToString(), QNwMessageBuilder::SetCommand(), QNwMessageBuilder::SetModifier(), and QNwMessageBuilder::SetParameter().
| bool QSlowControlClient::TurnPSupplyOutputON | ( | unsigned int | channel | ) |
enable power supply output
References SetPSupplyOutputEnable().
| bool QSlowControlClient::TurnPSupplyOutputOFF | ( | unsigned int | channel | ) |
disable power supply output
References SetPSupplyOutputEnable().
1.5.6