addAnalogInputChannel
(Not recommended) Add analog input channel
This session
object function is not recommended. Use DataAcquisition
object functions instead. See Compatibility Considerations.
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
.
Examples
Input Arguments
Output Arguments
Tips
The relevant properties of the data acquisition session are:
ADCTimingMode | Set channel timing mode |
BridgeMode | Specify analog input device bridge mode |
Coupling | Specify input coupling mode |
Device | Channel device information |
ExcitationCurrent | Current of external source of excitation |
ExcitationSource | External source of excitation |
ExcitationVoltage | Voltage of excitation source |
ExternalTriggerTimeout | Specify maximum wait time for external trigger |
ID | ID of channel in session |
MaxSoundPressureLevel | Sound pressure level for microphone channels |
MeasurementType | Channel measurement type |
Name | Specify descriptive name for the channel |
NominalBridgeResistance | Resistance of sensor |
R0 | Specify resistance value |
RTDConfiguration | Specify wiring configuration of RTD device |
RTDType | Specify sensor sensitivity |
Range | Specify channel measurement range |
ScansAcquired | Number of scans acquired during operation |
Sensitivity | Sensitivity of an analog channel |
ShuntLocation | Indicate location of channel’s shunt resistor |
ShuntResistance | Resistance value of channel’s shunt resistor |
TerminalConfig | Specify terminal configuration |
ThermocoupleType | Select thermocouple type |
Units | Specify unit of RTD measurement |