Scripting API
btkSetAnalogGain
Module | BTKAnalogModifier |
Description#
Modifies analog's gain and returns updated analogs.
Parameters#
h | Handle pointing to a C++ btk::Acquisition object. |
idx | Integer containing the index of the analog channel to modify. |
label | String containing the label of the analog channel to modify. |
newgain | Integer wit the new gain (see the detailed description to know the possible gain). |
Returned Values#
analogs | Updated list of analog channels. Its format is the same than using the function |
analogsInfo | Updated informations related to the analog channels. Its format is the same than using the function |
Detailed Description#
btkSetAnalogGain(h, idx, newgain)
modifies the gain of the analog channel specified by the indexidx
.btkSetAnalogGain(h, label, newgain)
modifies the gain of the analog channel specified by the labellabel
.
- 0 : unknown gain
- 1 : +/- 10 volts
- 2 : +/- 5 volts
- 3 : +/- 2.5 volts
- 4 : +/- 1.25 volts
- 5 : +/- 1 volt