Cdaqmxdatabuffer class, Public members, Data members – Yokogawa PC-Based MX100 User Manual
Page 638

12-74
IM MX190-01E
CDAQMXDataBuffer Class
This class stores each type of information for each channel of the MX100 in a group.
You can store multiple data with the FIFO. The data is managed in a list. It is
specified with a storage location index number. You can indicate the current
location using the current index number.
The following data can be stored.
• Channel Information Data
• Measured Data
• Time information data
Public Members
Construct/Destruct
CDAQMXDataBuffer
Constructs an object.
~CDAQMXDataBuffer
Destructs an object.
Member Data Manipulation
initialize
Initializes the data member.
getClassMXChInfo
Gets the channel information data.
create
Creates the storage field.
setChInfo
Stores the channel information data.
setDataInfo
Stores the measured data.
setDateTime
Stores the time information data.
currentDataInfo
Gets the current measured data.
currentDateTime
Gets the current time information data.
Utilities
next
Increments the current index number.
getDataNum
Gets the remaining number of data.
isCurrent
Checks whether the current data exists.
Data Members
m_cMXChInfo
Field for storing the channel information data.
m_pDataBuf
Field for the pointer to the top of the measured data
list.
m_pTimeBuf
Field for the pointer to the top of the time
information data list.
m_cur
Field for storing the current index number.
m_max
Field for storing the number of valid elements.
m_num
Field for storing the number of list elements.
Member Data Manipulation
getDataInfo
Gets the measured data.
getDateTime
Gets the time information data.
12.4 Details of the MX100 Class