Cdaqmxchid::getalarmvalueon, Cdaqmxchid::getchname, Cdaqmxchid::getchtype – Yokogawa PC-Based MX100 User Manual

Page 139

Advertising
background image

2-116

IM MX190-01E

CDAQMXChID::getAlarmValueON

Syntax

int getAlarmValueON(int levelNo);

Parameters

levelNo

Specify the alarm level.

Description

Gets the threshold level for alarm generation (ON value) of the specified alarm level
from the alarm field of the data member.

Returns 0 if the alarm level is outside the range.

Return value

Returns the threshold level (On value) for alarm activation.

Reference

getMXAlarm

CDAQMXChID::getChName

Syntax

int getChName(int unitno = 0);

Parameters

unitno

Specify the unit number.

Description

Creates the channel name from the channel number and specified unit number of

the data member.

Return value

Returns the channel name.

Reference

getChNo toChName

CDAQMXChID::getChType

Syntax

virtual int getChType(void);

Description

Gets the channel type field from the data member.

Always returns 0, since the channel type is 0.

Return value

Returns the channel type.

2.5 Details of the MX100 Class

Advertising