Owner manual

10-36 IM MX190-01E
setScallingUnitDARWIN
Syntax
int setScallingUnitDARWIN(DAQDARWIN daqdarwin, const char *
strUnit, int chType, int startChNo, int endChNo);
Declaration
Public Declare Function setScallingUnitDARWIN Lib
"DAQDARWIN"(ByVal daqdarwin As Long, ByVal strUnit As String,
ByVal chType As Long, ByVal startChNo As Long, ByVal endChNo
As Long) As Long 111
Parameters
daqdarwin Specify the device descriptor.
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.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQDARWIN::setScallingUnit
10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -