Cdaqmxstatus::getnewdatano, Cdaqmxstatus::getolddatano, Cdaqmxstatus::gettime – Yokogawa PC-Based MX100 User Manual

Page 213

Advertising
background image

2-190

IM MX190-01E

CDAQMXStatus::getNewDataNo

Syntax

MXDataNo getNewDataNo(int fifoNo);

Parameters

fifoNo

Specify the FIFO number.

Description

Gets the newest data number of the FIFO information corresponding to the specified
FIFO number from the status data field of the data member.

Returns the constant for “Data number for instantaneous value specification” if it
does not exist.

Return value

Returns the data number.

Reference

getMXFIFOInfo

CDAQMXStatus::getOldDataNo

Syntax

MXDataNo getOldDataNo(int fifoNo);

Parameters

fifoNo

Specify the FIFO number.

Description

Gets the oldest data number of the FIFO information corresponding to the specified
FIFO number from the status data field of the data member.

Returns the constant for “Data number for instantaneous value specification” if it
does not exist.

Return value

Returns the data number.

Reference

getMXFIFOInfo

CDAQMXStatus::getTime

Syntax

time_t getTime(void);

Description

Gets the number of seconds from the status data field of the data member.

Return value

Returns seconds.

2.5 Details of the MX100 Class

Advertising