Public Member Functions | |
QPulserSingleShot (int settingsBasket) | |
ctor | |
void | SetParameters (UInt_t board, UInt_t hwCh, UInt_t amplitude) |
configure pulse to be fired | |
bool | Fire () |
fire pulse | |
const QError & | GetError () |
get last occurred error | |
Private Member Functions | |
void | ResetError () |
Private Attributes | |
UInt_t | fHwCh |
UInt_t | fPulseId |
UInt_t | fAmplitude |
const int | kSettingsBasket |
QError | fError |
QPulserSingleShot::QPulserSingleShot | ( | int | settingsBasket | ) |
ctor
settingsBasket | settings basket to be used to fire the pulse |
void QPulserSingleShot::SetParameters | ( | UInt_t | board, | |
UInt_t | hwCh, | |||
UInt_t | amplitude | |||
) |
configure pulse to be fired
board | hardware board | |
hwCh | hardware channel | |
amplitude | pulse amplitude (0..5000) |
References QPulserConverter::GetInstance(), and QPulserConverter::GetPulseId().
Referenced by QGuiPulserMain::FireSingleShot().
bool QPulserSingleShot::Fire | ( | ) |
fire pulse
References QDigitalController_v2::Fire(), QSlowControlClient::GetBasket(), QBaseClient::GetError(), QPulserConverter::GetInstance(), QPulserConfig::GetMem0(), QPulserConfig::GetMem1(), QPulserConfig::GetMem2(), QPulserConfig::GetMem3(), QSlowControlClient::GetMode(), QSlowControlClient::LoadDevice(), QDigitalController_v2::Prepare(), QError::Set(), QPulserConfig::SetMem0(), QPulserConfig::SetMem1(), QPulserConfig::SetMem2(), QPulserConfig::SetMem3(), QSlowControlClient::SetTuningMode(), QSlowControlClient::SetWriteMode(), and QSlowControlClient::WritePulser().
Referenced by QGuiPulserMain::FireSingleShot().