Public Member Functions | |
SctApiDDC (boost::shared_ptr< SctConfiguration::Configuration > conf, boost::shared_ptr< Log > log=boost::shared_ptr< Log >()) | |
void | ddcChangeState (int crate, int channel, short state, int timeout=2) |
Change state on one channel. | |
void | ddcChangeStates (int crate, const char *name, short state, int timeout=2) |
Changeto LV on/off, HV on/off on one channel, or group, or everything. | |
void | ddcChangeStateAll (int crate, short state, int timeout=2) |
Change state on all power supply channels. | |
void | ddcLoadConfiguration (int crate, short state, int timeout=2) |
Load power supply crate configuration for particular state. | |
void | ddcHardReset (int crate, int channel, int timeout=2) |
Send hard reset to power supply channel. | |
void | ddcHardResetAll (int crate, int timeout=2) |
Send hard reset to all channels in power supply crate. | |
int | ddcGetChannelParameterInt (int crate, int channel, std::string name, int timeout=2) |
Get a parameter that should be interpreted as an integer. | |
float | ddcGetChannelParameterFloat (int crate, int channel, std::string name, int timeout=2) |
Get a parameter that should be interpreted as a float. | |
std::string | ddcGetChannelParameterString (int crate, int channel, std::string name, int timeout=2) |
Get a parameter that should be interpreted as a string (most likely an error). | |
int | ddcGetCardParameterInt (int crate, int card, std::string name, int timeout=2) |
Get a card parameter that should be interpreted as an integer. | |
float | ddcGetCardParameterFloat (int crate, int card, std::string name, int timeout=2) |
Get a card parameter that should be interpreted as a float. | |
std::string | ddcGetCardParameterString (int crate, int card, std::string name, int timeout=2) |
Get a card parameter that should be interpreted as a string (probably an error). | |
int | ddcGetCrateParameterInt (int crate, std::string name, int timeout=2) |
Get a parameter of a power supply crate that should be interpreted as an integer. | |
float | ddcGetCrateParameterFloat (int crate, std::string name, int timeout=2) |
Get a parameter of a power supply crate that should be interpreted as a float. | |
std::string | ddcGetCrateParameterString (int crate, std::string name, int timeout=2) |
Get a parameter of a power supply crate that should be interpreted as a string. | |
void | ddcGetCrateParameters (int crate, std::vector< std::string > names, std::map< std::string, float > &dpeValues, int timeout) |
void | ddcSetChannelParameter (int crate, int channel, std::string name, float value, int timeout=2) |
Set a parameter on a power supply channel. | |
void | ddcSetCardParameter (int crate, int card, std::string name, float value, int timeout=2) |
Set a parameter on a power supply card. | |
void | ddcSetCrateParameter (int crate, std::string name, float value, int timeout=2) |
Set a parameter on a power supply crate. | |
void | requestHardResetAll () |
Request hard reset on all modules. | |
void | requestHardReset (UINT32 mid) |
Request hard reset of module mid. | |
void | requestIVCurve (UINT32 mid, FLOAT32 start, FLOAT32 stop, FLOAT32 step, UINT16 delay, FLOAT32 currentLim) |
Request initialisation of an IV scan. | |
void | requestIVCurveAll (FLOAT32 start, FLOAT32 stop, FLOAT32 step, UINT16 delay, FLOAT32 currentLim) |
Request initialisation of an IV scan on all modules. | |
void | setSelectAllInCrate (int crate, bool value, int timeout=5) |
Set the select value for all known power supply channels in a crate. | |
void | setSelect (UINT32 mid, bool value) |
Set the select value for module mid. | |
void | changeRunState (int state) |
Change run state of all power modules. | |
Private Member Functions | |
void | initDDC () |
I think I have to do this after ILU is running (otherwise SCTDCSCommand can't do the stuff it needs to initialise). | |
SCTDCSCommand * | ddcCmd () |
safe private ddc accessor: | |
SctConfiguration::Configuration * | config () |
safe private config accessor: | |
std::ostream & | log () |
Private Attributes | |
boost::shared_ptr< SctConfiguration::Configuration > | m_config |
The configuration database. | |
boost::shared_ptr< Log > | m_log |
IPCPartition * | m_ddcPartition |
std::string * | m_ddcCtrls [2] |
SCTDCSCommand * | m_ddcCmd |
Definition at line 31 of file SctApiDDC.h.
|
Change run state of all power modules. One of Off, Standby, On DDC: Primary purpose IPC: Not during scan Conf: No communication |
|
safe private config accessor:
|
|
Change state on one channel.
|
|
Change state on all power supply channels.
|
|
Changeto LV on/off, HV on/off on one channel, or group, or everything.
|
|
safe private ddc accessor:
|
|
Get a card parameter that should be interpreted as a float.
|
|
Get a card parameter that should be interpreted as an integer.
|
|
Get a card parameter that should be interpreted as a string (probably an error).
|
|
Get a parameter that should be interpreted as a float.
|
|
Get a parameter that should be interpreted as an integer.
|
|
Get a parameter that should be interpreted as a string (most likely an error).
|
|
Get a parameter of a power supply crate that should be interpreted as a float.
|
|
Get a parameter of a power supply crate that should be interpreted as an integer.
|
|
|
|
Get a parameter of a power supply crate that should be interpreted as a string.
|
|
Send hard reset to power supply channel.
|
|
Send hard reset to all channels in power supply crate.
|
|
Load power supply crate configuration for particular state.
|
|
Set a parameter on a power supply card.
|
|
Set a parameter on a power supply channel.
|
|
Set a parameter on a power supply crate.
|
|
I think I have to do this after ILU is running (otherwise SCTDCSCommand can't do the stuff it needs to initialise).
|
|
Request hard reset of module mid. DDC: Primary purpose IPC: Not during scan Conf: Some lookup?! |
|
Request hard reset on all modules. DDC: Primary purpose IPC: Not during scan Conf: Some lookup?! |
|
Request initialisation of an IV scan. DDC: Primary purpose IPC: Not during scan, result will be asynchronous Conf: Some lookup?! |
|
Request initialisation of an IV scan on all modules. DDC: Primary purpose IPC: Not during scan, result will be asynchronous Conf: Some lookup?! |
|
Set the select value for module mid. This is a debug method for DCS. Primary route to this functionality is via modifyABCDVar and sendModule! DDC: Primary purpose IPC: Not during scan Conf: Some lookup?! |
|
Set the select value for all known power supply channels in a crate. This is a debug method for DCS. Primary route to this functionality is via modifyABCDVar and sendModule??? DDC: Primary purpose IPC: Not during scan Conf: Some lookup?! |
|
The configuration database.
Definition at line 36 of file SctApiDDC.h. |