Cdaqmxchconfig::setrefalarm, Cdaqmxchconfig::setrefchno – Yokogawa PC-Based MX100 User Manual

Page 125

Advertising
background image

2-102

IM MX190-01E

CDAQMXChConfig::setRefAlarm

Syntax

void setRefAlarm(int refChNo, int levelNo, int bValid);

Parameters

refChNo

Specify the reference channel number.

levelNo

Specify the alarm level.

bValid

Specify the Boolean value.

Description

Stores the specified value in the DO setup data field of the data member.
If the constant for “Specify all reference channel numbers”is specified for the

channel numbers to be referenced, the value is stored for all the channels.
If the “Specify all alarm level numbers”constant is specified for the alarm level, the

value is stored for all alarm levels.

CDAQMXChConfig::setRefChNo

Syntax

void setRefChNo(int refChNo);

Parameters

refChNo

Specify the reference channel number.

Description

Stores the specified value in the AI and DI setup data fields of the data member.
Channel numbers other than its own range are ignored.

If no reference channels exist for the specification, the constant for “Undefined
reference channel numbers”is specified.

2.5 Details of the MX100 Class

Advertising