12 cdaqmxdatabuffer::getdatanum, Cdaqmxdatabuffer::getdatetime, Cdaqmxdatabuffer::initialize – Yokogawa PC-Based MX100 User Manual

Page 641: Cdaqmxdatabuffer::iscurrent

Advertising
background image

12-77

IM MX190-01E

MX100 for Exteded API

12

CDAQMXDataBuffer::getDataNum

Syntax

int getDataNum(void);

Description

Gets the number of remaining data from the difference between the number of valid

elements and the current index number.

Return value

Returns the remaining number of data.

CDAQMXDataBuffer::getDateTime

Syntax

CDAQMXDateTime * getDateTime(int index);

Parameters

index

Specify the storage location index number.

cMXDateTime

Specify the time information data.

Description

Gets the time information data of the specified location from the data member.

Returns NULL if it does not exist.

Return value

Returns a pointer to the time information data.

CDAQMXDataBuffer::initialize

Syntax

void initialize(void);

Description

Initializes the data member.
Destructs the storage field for the measured data and time information data.

The field for storing the channel information data is not initialized.

CDAQMXDataBuffer::isCurrent

Syntax

int isCurrent(void);

Description

Checks whether the data in the current location (of the current index number) is

valid.

Return value

Returns a Boolean value.

Reference

currentDataInfo

12.4 Details of the MX100 Class

Advertising