User’s Manual
13
Reads the state of an analog input channel.
Parameters
channel
is the analog input channel to read.
channel
should be passed as
channel = (slotnumber * 128) + (channelnumber)
where
slotnumber
is 0–6, and
channelnumber
is 0–10
or
channel = ChanAddr(slotnumber, channelnumber)
where
slotnumber
is 0–6, and
channelnumber
is 0–10.
Return Value
A value corresponding to the voltage on the analog input channel, 0–4095.
See Also
anaInCalib, anaInVolts
Reads the state of an analog input channel and uses the previously set calibration constants to
convert the state to volts.
Parameters
channel
is the analog input channel.
channel
should be passed as
channel = (slotnumber * 128) + (channelnumber)
where
slotnumber
is 0–6, and
channelnumber
is 0–10
or
channel = ChanAddr(slotnumber, channelnumber)
where
slotnumber
is 0–6, and
channelnumber
is 0–10.
Return Value
A voltage value corresponding to the voltage on the analog input channel, 0–4095.
See Also
anaIn, anaInCalib
int anaIn(int channel);
int anaInVolts(int channel);
Summary of Contents for SR9300
Page 4: ...iv Smart Star A D Converter Cards SR9300 ...
Page 20: ...16 Smart Star A D Converter Cards SR9300 ...
Page 24: ...20 Smart Star A D Converter Cards SR9300 ...
Page 28: ...24 Smart Star A D Converter Cards SR9300 ...
Page 32: ...28 Smart Star A D Converter Cards SR9300 ...
Page 34: ...30 Smart Star A D Converter Cards SR9300 ...
Page 37: ...B NONE ...
Page 39: ......