Yokogawa PC-Based MX100 User Manual

Page 1066

Advertising
background image

21-10

IM MX190-01E

21.4 Program for Loading Instantaneous Value Data

- DARWIN/Visual Basic -

To use types, functions, and constants for Visual Basic, they must be declared in

advance. The following methods of declaration statements are available.

Statement of All Declarations

Adding the standard module library file for Visual Basic (DAQDA100Reader.bas) to

the project is equivalent to declaring all types, functions, and constants.

Statement of Selective Declarations

The API Viewer that comes with Visual Studio can be used to copy the declaration

statements of arbitrary types, functions, and constants. Load the text file for the API
Viewer (DAQDA100Reader.txt) on the API Viewer to use this function.

For a description of how to use the API Viewer, read the operation manual for Visual
Studio.

Writing Declarations Directly

Below is an example of a declaration statement.

Public Declare Function openDA100Reader Lib "DAQDA100" (ByVal
strAddress As String, ByRef errorCode As Long) As Long

Advertising