12 private members, Cdaqmxdatabuffer::create – Yokogawa PC-Based MX100 User Manual

Page 639

Advertising
background image

12-75

IM MX190-01E

MX100 for Exteded API

12

Private Members

None.

Member Functions (Alphabetical Order)

CDAQMXDataBuffer::CDAQMXDataBuffer

Syntax

CDAQMXDataBuffer(void);
CDAQMXDataBuffer(CDAQMXChInfo & cMXChInfo);
virtual ~CDAQMXDataBuffer(void);

Parameters

cMXChInfo

Specify the channel information data.

Description

Constructs or destructs an object.

When constructing, the data member is initialized. If a channel information data is
specified in the parameter, it is copied to the data member.

When destructing, each type of information in the data member is destructed.

Reference

getClassMXChInfo initialize setChInfo
CDAQMXChInfo::initialize

CDAQMXDataBuffer::create

Syntax

int create(int num);

Parameters

num

Specify the number of data.

Description

Creates a list with the specified number of data.
When complete, the current index number is set to at the top of the list.

If a list has already been created, the old list is appended with the specified number
of data. The specified number of data becomes the number of valid elements.

There is no data in the elements of a list that is created or appended to.
If the list could not be configured, it is initialized.

Return value

Returns an error number.
Error:

Not Data

There is no data. Specified value is negative.

Exception

An exception occurred. The field could not be created.

Reference

initialize

12.4 Details of the MX100 Class

Advertising