FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
uint16_t ConnectionBias::RampOneStep
(
uint16_t
ch
)
inline
private
Definition at line
748
of file
biasctrl.cc
.
749
{
750
if
(
fDacTarget
[ch]>
fDacActual
[ch])
751
return
fDacActual
[ch]+
fRampStep
>
fDacTarget
[ch] ?
fDacTarget
[ch] :
fDacActual
[ch]+
fRampStep
;
752
753
if
(
fDacTarget
[ch]<
fDacActual
[ch])
754
return
fDacActual
[ch]-fRampStep<
fDacTarget
[ch] ?
fDacTarget
[ch] :
fDacActual
[ch]-
fRampStep
;
755
756
return
fDacActual
[ch];
757
}
ConnectionBias::fRampStep
int16_t fRampStep
Definition:
biasctrl.cc:52
ConnectionBias::fDacTarget
vector< uint16_t > fDacTarget
Definition:
biasctrl.cc:99
ConnectionBias::fDacActual
vector< uint16_t > fDacActual
Definition:
biasctrl.cc:101
ConnectionBias
Generated on Sun Sep 18 2016 20:50:44 for FACT++ by
1.8.11