10 runcommanddarwin – Yokogawa PC-Based MX100 User Manual

Page 521

Advertising
background image

10-23

IM MX190-01E

Functions for the DARWIN - Visual C/Visual Basic -

10

runCommandDARWIN

Syntax

int runCommandDARWIN(DAQDARWIN daqdarwin, const char *
strCmd);

Declaration

Public Declare Function runCommandDARWIN Lib "DAQDARWIN"(ByVal
daqdarwin As Long, ByVal strCmd As String) As Long

Parameters

daqdarwin

Specify the device descriptor.

strCmd

Specify the command message to be sent.

Description

Sends the specified command message and terminator 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.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQDARWIN::runCommand

10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -

Advertising