Go to the source code of this file.
Namespaces | |
namespace | boost |
Classes | |
class | QEleConfigHandler |
non-locking interface to cuore electronics to be used in diana More... | |
Functions | |
void | ApplyElectronicsConfiguration (std::map< int, QEleChannelConfig > configs, int settingsBasket, const std::set< unsigned int > &cratesToKill, std::set< int > wrongPolarityChannels, unsigned int sleepAfterChangeSec, boost::mutex &theMutex, QError &retStatus) |
apply electronics configuration |
void ApplyElectronicsConfiguration | ( | std::map< int, QEleChannelConfig > | configs, | |
int | settingsBasket, | |||
const std::set< unsigned int > & | cratesToKill, | |||
std::set< int > | wrongPolarityChannels, | |||
unsigned int | sleepAfterChangeSec, | |||
boost::mutex & | theMutex, | |||
QError & | retStatus | |||
) |
apply electronics configuration
config | map of configurations to be applied | |
settingsBasket | needed to initialize the communication with the Slow Control Server | |
cratesToKill | list of daq crate ids to kill when changing electronics configuration | |
wrongPolarityChannels | set of channels with wrong polarity due to bad hardware cabling. For these channels the bias polarity is inverted before applying changes to electronics | |
sleepAfterChangeSec | time in seconds to sleep after changing electronics configuration | |
theMutex | used to avoid concurrent calls to this function | |
retStatus | is filled with the return status of this function. See detailed documentation for possible return values |
References QEleInterface::GetError(), QBaseClient::GetError(), QEleInterface::GetInstance(), QError::Set(), QSlowControlClient::SetPSupplyVsetDiff(), QDaqClient::SetTriggerFlag(), QSlowControlClient::SetWriteMode(), and QEleInterface::WriteChannel().