Cdaqdatainfo::getclasschinfo, Cdaqdatainfo::getdoublevalue – Yokogawa PC-Based MX100 User Manual

Page 43

Advertising
background image

2-20

IM MX190-01E

Member Functions (Alphabetical Order)

CDAQDataInfo::CDAQDataInfo

Syntax

CDAQDataInfo(int value = 0, CDAQChInfo * pcChInfo = NULL);
virtual ~CDAQDataInfo(void);

Parameters

value

Specify the data value.

pcChInfo

Specify the association with the channel information data.

Description

Constructs or destructs an object.

When constructing, the data member is set to the specified value.
When destructing, the associated channel information data is not deleted.

Reference

setClassChInfo setValue

CDAQDataInfo::getClassChInfo

Syntax

CDAQChInfo * getClassChInfo(void);

Description

Gets the value of the field associated with the channel information data of the data
member. Returns NULL if the value is not specified.

Return value

Returns the association with the channel information data.

CDAQDataInfo::getDoubleValue

Syntax

double getDoubleValue(void);

Description

Generates the measured value from the data value of the data member and the
decimal point position associated with the channel information data.

If there is no association with the channel information data, the decimal point
position is 0.

Return value

Returns the measured value as a double-precision floating number.

Reference

getClassChInfo getValue toDoubleValue
CDAQChInfo::getPoint

2.4 Details of the MX100/DARWIN Common Class

Advertising