addAnalogInputChannel
(Not recommended) Add analog input channel
This session
object function is not recommended. Use DataAcquisition
object functions instead. See Version History.
Syntax
Description
addAnalogInputChannel(
adds a channel on the device represented by s
,deviceID
,channelID
,measurementType
)deviceID
, with the
specified channelID
, and channel measurement type represented by
measurementType
, to the session s
.
Measurement types are vendor-specific.
Use
daq.createSession
to create a session object before you use this method.To use counter channels, see
addCounterInputChannel
.
creates and returns the channel object ch
= addAnalogInputChannel(s
,deviceID
,channelID
,measurementType
)ch
.