Definition at line 1981 of file biasctrl.cc.
References StateMachineBias< T, S >::Disconnect(), StateMachineBias< T, S >::ExpertLoadMapFile(), ConnectionBias::ExpertReset(), StateMachineBias< T, S >::ExpertSetChannelDac(), StateMachineBias< T, S >::ExpertSetChannelVolt(), StateMachineBias< T, S >::ExpertSetGlobalDac(), StateMachineBias< T, S >::ExpertSetGlobalVolt(), State::kConnected, State::kConnecting, State::kDisconnected, BIAS::State::kExpertMode, BIAS::State::kInitializing, BIAS::State::kLocked, BIAS::State::kNotReferenced, BIAS::State::kOverCurrent, BIAS::State::kRamping, Agilent::State::kVoltageOff, Agilent::State::kVoltageOn, ConnectionBias::OverCurrentReset(), ConnectionBias::PrintA(), ConnectionBias::PrintInfo(), ConnectionBias::PrintReferenceVoltage(), ConnectionBias::PrintV(), ConnectionBias::RampAllDacs(), ConnectionBias::RampStart(), ConnectionBias::RampStop(), ConnectionBias::ReadAllChannels(), StateMachineBias< T, S >::Reconnect(), StateMachineBias< T, S >::SetAllChannelsDac(), StateMachineBias< T, S >::SetAllChannelsVolt(), StateMachineBias< T, S >::SetChannelDac(), StateMachineBias< T, S >::SetChannelVolt(), StateMachineBias< T, S >::SetDummyMode(), StateMachineBias< T, S >::SetExpertMode(), StateMachineBias< T, S >::SetGlobalDac(), StateMachineBias< T, S >::SetGlobalVolt(), StateMachineBias< T, S >::SetUpdateInterval(), StateMachineBias< T, S >::SetVerbosity(), StateMachineBias< T, S >::Shutdown(), and StateMachineBias< T, S >::Unlock().
1987 "Bias-power supply not connected via USB.");
1990 "Trying to establish USB connection to bias-power supply.");
1993 "USB connection to bias-power supply established, synchronizing USB stream.");
1996 "USB connection to bias-power supply established.");
1999 "Internal reference voltage does not match last sent voltage.");
2002 "All voltages are supposed to be switched off.");
2005 "At least one voltage is switched on and all are at reference.");
2008 "At least one channel is in over current state.");
2011 "Special (risky!) mode to directly send command to the bias-power supply.");
2014 "Voltage ramping in progress.");
2017 "Locked due to emergency shutdown, no commands accepted except UNLOCK.");
2020 T::AddEvent(
"SET_VERBOSE",
"B:1")
2022 (
"set verbosity state" 2023 "|verbosity[bool]:disable or enable verbosity for received data (yes/no), except dynamic data");
2025 T::AddEvent(
"ENABLE_DUMMY_MODE",
"B:1")
2027 (
"Enable dummy mode. In this mode SetAllChannels prints informations instead of sending anything to the bias crate." 2028 "|enable[bool]:disable or enable dummy mode");
2033 (
"disconnect from USB");
2036 (
"(Re)connect USB connection to Bias power supply, a new address can be given" 2037 "|tty[string]:new USB address");
2040 T::AddEvent(
"SET_UPDATE_INTERVAL",
"I:1")
2042 (
"Set the updat einterval how often the currents are requested" 2043 "|interval[ms]:Update interval in milliseconds");
2049 (
"Asynchronously request the status (current) of all channels.");
2053 (
"Set all channels in over current state to 0V and send a system reset to reset the over current flags.");
2058 (
"Set a new target value in DAC counts for a single channel. Starts ramping if necessary." 2059 "|channel[short]:Channel for which to set the target voltage [0-415]" 2060 "|voltage[dac]:Target voltage in DAC units for the given channel");
2063 (
"Set a new target value for all channels in DAC counts. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)" 2064 "|voltage[dac]:Global target voltage in DAC counts.");
2067 (
"Set a new target value for all channels in DAC counts. Starts ramping if necessary." 2068 "|voltage[dac]:Global target voltage in DAC counts for all channels");
2073 (
"Set a new target voltage for a single channel. Starts ramping if necessary." 2074 "|channel[short]:Channel for which to set the target voltage [0-415]" 2075 "|voltage[V]:Target voltage in volts for the given channel (will be converted to DAC units)");
2078 (
"Set a new target voltage for all channels. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)" 2079 "|voltage[V]:Global target voltage in volts (will be converted to DAC units)");
2082 (
"Set all channels to the given new reference voltage. Starts ramping if necessary." 2083 "|voltage[V]:New reference voltage for all channels");
2105 (
"Set all channels to a zero reference voltage. Starts ramping if necessary.");
2108 (
"Same as SET_ZERO_VOLTAGE; but goes to locked state afterwards.");
2112 (
"Unlock if in locked state.");
2120 (
"Stop an on-going ramping");
2124 (
"Start a ramping if no ramping is in progress and if reference values differ from current voltages");
2128 T::AddEvent(
"PRINT_INFO")
2130 (
"Print a table with all current read back with the last request operation");
2131 T::AddEvent(
"PRINT_CURRENTS")
2133 (
"Print a table with all current read back with the last request operation");
2134 T::AddEvent(
"PRINT_VOLTAGES")
2136 (
"Print a table with all voltages (current and reference voltages as currently in memory)");
2137 T::AddEvent(
"PRINT_GAPD_REFERENCE_VOLTAGES")
2139 (
"Print the G-APD reference values (breakdown voltage + overvoltage) obtained from file");
2142 T::AddEvent(
"EXPERT_MODE",
"B:1")
2144 (
"Enable usage of expert commands (note that for safty reasons the are exclusive with the standard commands)");
2148 (
"Send the RESET command (note that this is possibly harmfull command)");
2152 (
"Send the global set command. The given voltage is converted to DAC counts.");
2156 (
"Send the global set command.");
2160 (
"Send a single channel set command. The given voltage is converted to DAC commands.");
2164 (
"Send a single channel set command.");
2168 (
"Load a new mapping file.");
int ExpertSetGlobalVolt(const EventImp &evt)
void PrintReferenceVoltage()
Adds some functionality to boost::posix_time::ptime for our needs.
int ExpertSetChannelDac(const EventImp &evt)
int SetExpertMode(const EventImp &evt)
bool RampAllDacs(uint16_t dac)
int SetChannelVolt(const EventImp &evt)
int ExpertLoadMapFile(const EventImp &evt)
int SetDummyMode(const EventImp &evt)
int SetAllChannelsVolt(const EventImp &evt)
int SetChannelDac(const EventImp &evt)
int SetGlobalDac(const EventImp &evt)
int ExpertSetChannelVolt(const EventImp &evt)
int SetGlobalVolt(const EventImp &evt)
function< int(const EventImp &)> Wrapper(function< void()> func)
int Shutdown(const string &reason)
void ExpertReset(bool expert_mode=true)
int SetAllChannelsDac(const EventImp &evt)
int ExpertSetGlobalDac(const EventImp &evt)
int Reconnect(const EventImp &evt)
int SetUpdateInterval(const EventImp &evt)
int SetVerbosity(const EventImp &evt)
void ReadAllChannels(bool special=false)