7cdaqdarwindatainfo class, Public members – Yokogawa PC-Based MX100 User Manual

Page 451

Advertising
background image

7-53

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWINDataInfo Class

CDAQDataInfo

CDAQDARWINDataInfo

This class is derived from the CDAQDataInfo class. It stores the data in units of
channels that is retrieved through the retrieval of the measured data by the talker

function.
This class consists of the association with the channel information data and the

measured data.
The stored information varies depending on the code (ASCII or binary) when the

measured data of the talker function is retrieved. For details, see section 11.4.
If the reference to the channel information data is set, the retrieved channel

information data is stored.

When storing the measured data through the talker function, the following member

functions corresponding to the code are used.

Code

Member Functions

ASCII code

setLine

Binary code

setByte

In the case of ASCII codes, member functions are provided that analyze and store

the output format strings below.

S1S2A1A1A2A2A3A3A4A4UUUUUUCCC,±DDDDDE-E

In the case of binary codes, member functions are provided that analyze and store 6

bytes (for measurement channels) or 8 bytes (cor computation channels) of data.
Data that does not include alarm data is not supported.

For channel information data, you can retrieve the CDAQDARWINChInfo class
using the member access function member. This is the same as the channel

information data class from the receiving of the channel information data by the
talker function.

Public Members

Construct/Destruct

CDAQDARWINDataInfo

Constructs an object.

~CDAQDARWINDataInfo

Destructs an object.

Structure Manipulation

getDarwinDataInfo

Gets the data in a structure.

setDarwinDataInfo

Sets the data in a structure.

initDarwinDataInfo

Initializes the data in a structure.

7.4 Details of the DARWIN Class

Advertising