Owner manual
5-77
IM MX190-01E
Functions for the MX100 (Visual C/Visual Basic)
5
setTagMX
Syntax
int setTagMX(DAQMX daqmx, const char * strTag, int startChNo,
int endChNo);
Declaration
Public Declare Function setTagMX Lib "DAQMX"(ByVal daqmx As
Long, ByVal strTag As String, ByVal startChNo As Long, ByVal
endChNo As Long) As Long
Parameters
daqmx Specify the device descriptor.
strTag Specify the tag.
startChNo Specify the start channel number.
endChNo Specify the end channel number.
Description
Sets the tag to the specified channel range.
• The setup data is retrieved collectively, changed, and sent collectively.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQMX::getMXConfig
CDAQMX::setMXConfig
CDAQMXChConfig::setTag
CDAQMXConfig::getClassMXChConfig
5.1 Details of Functions - MX100 (Visual C/Visual Basic) -