addAnalogOutputChannel
(Not recommended) Add analog output channel to session
This session
object function is not recommended. Use DataAcquisition
object functions instead. See Version History.
Syntax
Description
addAnalogOutputChannel(
adds an analog output channel on the device represented by
s
,deviceName
,channelID
,measurementType
)deviceID
, with the specified channelID
,
and channel measurement type defined by measurementType
, on the
session object 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
= addAnalogOutputChannel(s
,deviceName
,channelID
,measurementType
)ch
, representing the
channel that was added.
[
creates and returns the object ch
,idx
]
= addAnalogOutputChannel(s
,deviceName
,channelID
,measurementType
)ch
, representing the channel that
was added, and the object idx
, representing the index into the
array of the session object Channels property.