Chapter 21 darwin for extended api - visual basic, Status transition functions – Yokogawa PC-Based MX100 User Manual

Page 1057

Advertising
background image

21-1

IM MX190-01E

21

DARWIN for Extended API - Visual Basic -

Chapter 21 DARWIN for Extended API - Visual Basic -

21.1 Correspondence between the Functions and

Class/Member Functions - DARWIN/Visual
Basic -

This section indicates the correspondence between the functionalities that the

extension API supports and the Visual Basic functions.

Note

This extension 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 given. 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 commands, see the Communication

Interface User’s Manual.

There are two types of functions, status transition functions and retrieval functions.
Status transition functions control DARWIN.

With retrieval functions, the parameter values of the current status are retrieved.
When using retrieval functions, the data value of the stored current status is

returned (the status of the extension API does not change).

Status Transition Functions

Communication Functions

Function

Command

Function

Connect to DARWIN.

-

openDA100

Disconnect from DARWIN.

-

closeDA100

Send data by line.

-

sendLineDA100

Used when controlling the data reception in a special way.

Receive data line by line.

-

receiveLineDA100

Used when controlling the data reception in a special way.

Receive data by bytes.

-

receiveByteDA100

Used when controlling the data reception in a special way.

Send the command and receive the response.

-

runCommandDA100

Used when implementing function commands.

Get the status byte.

(ESC S)

updateStatusDA100

Sends the status byte output command and receives the response.

Send trigger command (ESC T), and recv response

(ESC T)

sendTriggerDA100

Used when implementing a new talker function.

Except during connection or status updates, communication functions do not

perform status updates of stored data.

Advertising