FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
bool ConnectionBias::RampAllChannelsVoltage
(
const vector< float > &
volt
)
inline
Definition at line
1009
of file
biasctrl.cc
.
References
kNumChannels
.
1010
{
1011
vector<uint16_t> dac(
kNumChannels
);
1012
for
(
size_t
ch=0; ch<
kNumChannels
; ch++)
1013
{
1014
if
(!
CheckChannelVoltage
(ch, volt[ch]))
1015
return
false
;
1016
1017
dac[ch] =
ConvertVoltToDac
(ch, volt[ch]);
1018
}
1019
1020
return
RampAllChannelsDac
(dac);
1021
}
ConnectionBias::CheckChannelVoltage
bool CheckChannelVoltage(uint16_t ch, float volt)
Definition:
biasctrl.cc:912
ConnectionBias::ConvertVoltToDac
uint16_t ConvertVoltToDac(uint16_t ch, double volt)
Definition:
biasctrl.cc:977
kNumChannels
Definition:
HeadersFAD.h:92
ConnectionBias::RampAllChannelsDac
bool RampAllChannelsDac(const vector< uint16_t > &dac)
Definition:
biasctrl.cc:955
ConnectionBias
Generated on Sun Sep 18 2016 20:50:44 for FACT++ by
1.8.11