Chapter 9 darwin - visual basic, Communication functions – Yokogawa PC-Based MX100 User Manual

Page 489

Advertising
background image

9-1

IM MX190-01E

DARWIN - Visual Basic -

9

Chapter 9 DARWIN - Visual Basic -

9.1

Functions and Their Functionalities - DARWIN/
Visual Basic -

This section indicates the correspondence between the functionalities that the API

supports and the Visual Basic functions.

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

Function

Connect to DARWIN.

openDARWIN

Disconnect from DARWIN.

closeDARWIN

Send data line by line.

sendLineDARWIN

Used when controlling the data transmission in a special way.

Receive data line by line.

receiveLineDARWIN

Used when controlling the data reception in a special way.

Receives data in units of bytes.

receiveByteDARWIN

Used when controlling the data reception in a special way.

Sends the command and receive the response.

runCommandDARWIN

Used when implementing function commands.

Get the status byte.

getStatusByteDARWIN

Sends the status byte output command and receives the response.

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

sendTriggerDARWIN

Used when implementing a new talker function.

Set the communication timeout.

setTimeOutDARWIN

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