Cdaqdarwin::setscallingunit, Cdaqdarwin::setskip – Yokogawa PC-Based MX100 User Manual
Page 432
7-34
IM MX190-01E
CDAQDARWIN::setScallingUnit
Syntax
int setScallingUnit(const char * strUnit, int chType, int
startChNo, int endChNo = 0);
Parameters
strUnit
Specify the unit name using a string.
chType
Specify the channel type.
startChNo
Specify the start channel number.
endChNo
Specify the end channel number.
Description
Sets the specified unit to the channels in the specified channel range (specified by
channel type, start channel number, and end channel number).
This function executes the SN command of the DARWIN communication function.
It creates and sends the command and receives the response.
Return value
Returns an error number.
Error:
Not support
The string is out of range. Not specified, or exceeds the maximum
length.
Reference
runCommand
CDAQDARWINChInfo::toChRange
CDAQDARWIN::setSKIP
Syntax
int setSKIP(int chType, int startChNo, int endChNo = 0);
Parameters
chType
Specify the channel type of the measurement channel.
startChNo
Specify the start channel number.
endChNo
Specify the end channel number.
Description
Sets the measurement channels in the specified channel range (specified by
channel type, start channel number, and end channel number) to SKIP (not used).
This function executes the SR command of the DARWIN communication function.
It creates and sends the command and receives the response.
Return value
Returns an error number.
Reference
runCommand
CDAQDARWINChInfo::toChRange
7.4 Details of the DARWIN Class