7cdaqdarwinchinfo::setline, Cdaqdarwinchinfo::setunit – Yokogawa PC-Based MX100 User Manual

Page 447

Advertising
background image

7-49

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWINChInfo::setLine

Syntax

int setLine(const char * strLine, int lenLine, int * pFlag);

Parameters

strLine

Specify the line using a string.

lenLine

Specify the byte size of the line.

pFlag

Specify the destination where the flag is to be returned.

Description

Analyzes the specified line and stores the information in the data member.
The line format is the output format of the channel information data.

Return value

Returns an error number.
Error:

Not data

The input data is too short. Or, the string incorrect.

Reference

setChNo setChStatus setChType setPoint setUnit toChType toFlag
toStatus

CDAQDARWINChInfo::setUnit

Syntax

void setUnit(const char * strUnit)

Parameters

strUnit

Specify the unit name.

Description

Stores the specified value in the unit name field of the data member.

7.4 Details of the DARWIN Class

Advertising