Communication functions – Yokogawa PC-Based MX100 User Manual

Page 400

Advertising
background image

7-2

IM MX190-01E

7.2

Correspondence between the Functions and
Class/Member Functions - DARWIN -

This section indicates the correspondence between the functions that the API

supports and the class.

Note

This API provides a portion of the functions common to the DARWIN series
instruments. Model-specific functions, setup functions of the setup mode, and A/D
calibration functions are not implemented. The functions can be added by using the
commands of the DARWIN communication function.

The word “command” in the table signifies the command of the DARWIN
communication function. For the details on the command, see the Communication

Interface User’s Manual.

Communication Functions

Function

Class and Member Function

Connect to DARWIN.

CDAQDARWIN::open

Disconnect from DARWIN.

CDAQDARWIN::close

Send data line by line.

CDAQDARWIN::sendLine

Used when controlling the data transmission in a special way.

Receive data line by line.

CDAQDARWIN::receiveLine

Used when controlling the data reception in a special way.

Receive data in units of bytes.

CDAQDARWIN::receiveByte

Used when controlling the data reception in a special way.

Send the command and receive the response.

CDAQDARWIN::runCommand

Used when implementing function commands.

Get the status byte.

CDAQDARWIN::getStatusByte

Send the status byte output command and receive the response.

Send a trigger command (ESC T), and receive the

CDAQDARWIN::sendTrigger

response. Used when implementing a new talker function.

Set the communication timeout.

CDAQDARWIN::setTimeOut

Note

Setting of the communication timeout is not recommended because unexpected
disconnection may occur due to the conflict with the timeout time when data is
retrieved.

Advertising