Yokogawa PC-Based MX100 User Manual

Page 702

Advertising
background image

14-16

IM MX190-01E

Communication Connection
comm = openMX100("192.168.1.12", rc)
The IP address of the MX100 is specified. This statement implicitly specifies the

communication constant DAQMX_COMMPORT (communication port number of the
MX100).

Getting the Setup Data Collectively
rc = getItemAllMX100(comm)
Gets all items of the MX100 setup data collectively and stores in the setup data field.

Retrieval of the Setup Data by Item
rc = readItemMX100(comm, i, strItem, lenItem, realLen)
Retrieves the contents of item number “i” from the setup data field.

Writing the Setup Data by Item
rc = writeItemMX100(comm, i, strItem)
Writes the contents of strItem to item number “i” of the setup data field.

Sending the Setup Data Collectively
rc = setItemAllMX100(comm)
Sends all items of the setup data to the MX100 collectively.

Comm. cut
rc = closeMX100(comm)
Drops the connection.

14.2 Programming - MX100/Visual Basic -

Advertising