Setpowerdarwin – Yokogawa PC-Based MX100 User Manual
Page 530
![background image](/manuals/360310/530/background.png)
10-32
IM MX190-01E
setPOWERDARWIN
Syntax
int setPOWERDARWIN(DAQDARWIN daqdarwin, int iRangePOWER, int
chType, int chNo, int iItem, int iWire, int spanMin, int
spanMax, int scaleMin, int scaleMax, int scalePoint);
Declaration
Public Declare Function setPOWERDARWIN Lib "DAQDARWIN"(ByVal
daqdarwin As Long, ByVal iRangePOWER As Long, ByVal chType As
Long, ByVal chNo As Long, ByVal iItem As Long, ByVal iWire 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
daqdarwin
Specify the device descriptor.
iRangePOWER Specify the power monitor range.
chType
Specify the channel type.
startChNo
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 range on the specified channel (specified under channel
type and channel number).
• With the span and scale specification, if the left and right values are the same,
they are considered omitted.
• This function executes the SR command of the DARWIN communication function.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQDARWIN::setPOWER
10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -