Owner manual

7-30 IM MX190-01E
CDAQDARWIN::setPOWER
Syntax
int setPOWER(int iRangePOWER, int chType, int chNo, int iItem
= DAQDARWIN_POWERITEM_P1, int iWire = DAQDARWIN_WIRE_1PH2W,
int spanMin = 0, int spanMax = 0, int scaleMin = 0, int
scaleMax = 0, int scalePoint = 0);
Parameters
iRangeVOLT Specify the power monitor range.
chType Specify the channel type of the measurement channel.
chNo Specify the channel number.
iItem Specify the power measurement parameter.
iWire Specify the power connection method.
spanMin Specify the left value of the span.
spanMax Specify the right value of the span.
scaleMin Specify the left value of the scale.
scaleMax Specify the right value of the scale.
scalePoint Specify the decimal point position for scaling.
Description
Sets the specified power monitor range on the measurement channels of the
specified channel (channel type, channel number).
This function executes the SR command of the DARWIN communication function.
It creates and sends the command and receives the response.
If the left and right values are the same, the span or scale designation is considered
omitted.
Return value
Returns an error number.
Reference
runCommand CDAQDARWINChInfo::toChRange
7.4 Details of the DARWIN Class