7cdaqdarwin::setvolt, Cdaqdarwin::starttalker – Yokogawa PC-Based MX100 User Manual
Page 435
![background image](/manuals/360310/435/background.png)
7-37
IM MX190-01E
DARWIN - Visual C++ -
7
CDAQDARWIN::setVOLT
Syntax
int setVOLT(int iRangeVOLT, int chType, int startChNo, int
endChNo = 0, int spanMin = 0, int spanMax = 0, int scaleMin =
0,int scaleMax = 0, int scalePoint = 0);
Parameters
iRangeVOLT
Specify the range type of the DC voltage input.
chType
Specify the channel type of the measurement channel.
startChNo
Specify the start channel number.
endChNo
Specify the end channel number.
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 DC voltage range to the measurement channels in the specified
channel range (specified by channel type, start channel number, and end 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
CDAQDARWIN::startTalker
Syntax
virtual int startTalker(int iTalk);
Parameters
iTalk
Specify the talker function type.
Description
Executes the start procedure for using the talker function.
This function executes the TS command of the DARWIN communication function
and sends a trigger. After executing this function, carry out data retrieval
corresponding to the specified talker function.
Return value
Returns an error number.
Reference
runCommand sendTrigger
7.4 Details of the DARWIN Class