Setresmx – Yokogawa PC-Based MX100 User Manual
Page 325
![background image](/manuals/360310/325/background.png)
5-67
IM MX190-01E
Functions for the MX100 (Visual C/Visual Basic)
5
setRESMX
Syntax
int setRESMX(DAQMX daqmx, int iRangeRES, int startChNo, int
endChNo, int spanMin, int spanMax, int scaleMin, int scaleMax,
int scalePoint);
Declaration
Public Declare Function setRESMX Lib "DAQMX"(ByVal daqmx As
Long, ByVal iRangeRES As Long, ByVal startChNo As Long, ByVal
endChNo As Long, ByVal spanMin As Long, ByVal spanMax As Long,
ByVal scaleMin As Long, ByVal scaleMax As Long, ByVal
scalePoint As Long) As Long
Parameters
daqmx
Specify the device descriptor.
iRangeRES
Specify the resistance range type from the range type.
startChNo
Specify the start channel number.
endChNo
Specify the end channel number.
spanMin
Specify the span minimum.
spanMax
Specify the span maximum.
scaleMin
Specify the scale minimum.
scaleMax
Specify the scale maximum.
scalePoint
Specify the decimal point position for scaling.
Description
Sets the specified channel range to the resistance range.
• If the minimum and maximum values of the span are equal, the span is
considered to be omitted.
• If the minimum and maximum values of the scale are equal, the scale 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::setRES
CDAQMXConfig::setScalling
5.1 Details of Functions - MX100 (Visual C/Visual Basic) -