7cdaqdarwindatainfo::setbyte, Cdaqdarwindatainfo::setclassdarwinchinfo, Cdaqdarwindatainfo::setdarwindatainfo – Yokogawa PC-Based MX100 User Manual

Page 457

Advertising
background image

7-59

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWINDataInfo::setByte

Syntax

int setByte(const unsigned char pByte[], int numByte);

Parameters

pByte

Specify the head pointer of the byte array.

numByte

Specify the byte size of the byte array.

Description

Analyzes the specified byte array and stores the information in the data member.

The byte array type is the output format of the measured data in binary code.
If an association with the channel information data exists, the information that can

be retrieved from the specified byte array is stored in the channel information data
field.

Return value

Returns an error number.
Error:

Not data

The input data is too short.

Reference

getClassDARWINChInfo setAlarm setStatus setValue
CDAQDARWINChInfo::setChNo CDAQDARWINChInfo::setChType
CDAQDARWINChInfo::toStatus

CDAQDARWINDataInfo::setClassDARWINChInfo

Syntax

void setClassDARWINChInfo(CDAQDARWINChInfo * pcDARWINChInfo);

Description

Sets the association with the channel information data of the data member.

Reference

setClassChInfo

CDAQDARWINDataInfo::setDarwinDataInfo

Syntax

void setDarwinDataInfo(DarwinDataInfo * pDarwinDataInfo);

Parameters

pDarwinDataInfo Specify the measured data.

Description

Sets the data in a structure. Stores the contents of the specified structure in the data
member.

If not specified, the data member is initialized.

Reference

initialize setAlarm setStatus setValue

7.4 Details of the DARWIN Class

Advertising