Owner manual
5-69
IM MX190-01E
Functions for the MX100 (Visual C/Visual Basic)
5
setRRJCMX
Syntax
int setRRJCMX(DAQMX daqmx, int refChNo, int startChNo, int
endChNo, int spanMin, int spanMax);
Declaration
Public Declare Function setRRJCMX Lib "DAQMX"(ByVal daqmx As
Long, ByVal refChNo As Long, ByVal startChNo As Long, ByVal
endChNo As Long, ByVal spanMin As Long, ByVal spanMax As Long)
As Long
Parameters
daqmx Specify the device descriptor.
refChNo Specify the reference channel using a channel number.
startChNo Specify the start channel number.
endChNo Specify the end channel number.
spanMin Specify the span minimum.
spanMax Specify the span maximum.
Description
Sets remote RJC to the specified channel range.
• If the minimum and maximum values of the span are equal, the span is
considered to be omitted.
• The setup data is retrieved collectively, changed, and sent collectively.
• Channels from unsupported modules are ignored.
• The alarm setting is initialized.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQMX::getMXConfig
CDAQMX::setMXConfig
CDAQMXConfig::setRRJC
5.1 Details of Functions - MX100 (Visual C/Visual Basic) -