Owner manual

5-66 IM MX190-01E
setRefAlarmMX
Syntax
int setRefAlarmMX(DAQMX daqmx, int refChNo, int startChNo, int
endChNo, int levelNo, int bValid);
Declaration
Public Declare Function setRefAlarmMX Lib "DAQMX"(ByVal daqmx
As Long, ByVal refChNo As Long, ByVal startChNo As Long, ByVal
endChNo As Long, ByVal levelNo As Long, ByVal bValid 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.
levelNo Specify the alarm level.
bValid Specify the boolean value.
Description
Sets the reference alarm to the specified channel range.
The setup data is retrieved collectively, changed, and sent collectively.
If the constant for “Specify all reference channel numbers” is specified for the
reference channel, all channels are processed.
If the constant for “Specify all alarm level numbers” is specified for the alarm level,
all alarm levels of the reference channel are processed.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQMX::getMXConfig
CDAQMX::setMXConfig
CDAQMXChConfig::setRefAlarm
CDAQMXConfig::getClassMXChConfig
5.1 Details of Functions - MX100 (Visual C/Visual Basic) -