Yokogawa PC-Based MX100 User Manual

Page 732

Advertising
background image

16-14

IM MX190-01E

Retrieval of the Measured Data of Channel 1
rc = DAQMX100.measDataChMX100(comm, 1);
The amount of retrievable measured data from channel 1 of the MX100 is retrieved

and stored in the field. The first measurement point is set as the current status.

Retrieval of Measured Values
int val = DAQMX100.dataValueMX100(comm, 1);
Retrieves the measured values of the current status of channel 1 from the field

where the measured data is stored.

FIFO Stop
rc = DAQMX100.measStopMX100(comm);
Stops the FIFO.

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

Reference

The sample program is completed by executing measDaraChMX100 only once.
Each time measDataChMX100 is executed, the measurement point advances by

one, and the next data is set as the current status. When the last stored
measurement point is reached, the next retrievable amount of data is retrieved.

16.2 Programming - MX100/C# -

Advertising