7cdaqdarwin::runcommand, Cdaqdarwin::sendtrigger – Yokogawa PC-Based MX100 User Manual

Page 423

Advertising
background image

7-25

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWIN::runCommand

Syntax

virtual int runCommand(const char * strCmd)

Parameters

strCmd

Specify the command message to be sent.

Description

Sends the specified command message and receives the response.
This function adds a terminator to the command message at the time of

transmission. Therefore, do not include the terminator in the command message.
This function does not support simultaneous transmission of multiple commands or

command messages that include the terminator.
Like the data output request command of the talker function, does not support

commands that do not send responses.
The terminator of the string is the NULL character.

Return value

Returns an error number.

Reference

checkAck receiveLine sendLine

CDAQDARWIN::sendTrigger

Syntax

virtual int sendTrigger(void);

Description

Sends a trigger command (ESC T), and receives the response.

Return value

Returns an error number.

Reference

runCommand

7.4 Details of the DARWIN Class

Advertising