Yokogawa PC-Based MX100 User Manual

Page 686

Advertising
background image

13-17

IM MX190-01E

MX100 for Extended API - Visual C -

13

Getting the Setup Data Collectively
rc = daqmx100.getItemAll();
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, BUFSIZ, &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.

13.2 Programming - MX100/Visual C -

Advertising