Cdaqmxchid::operator, Cdaqmxchid::setalarmvalue, Cdaqmxchid::setchtype – Yokogawa PC-Based MX100 User Manual

Page 143

Advertising
background image

2-120

IM MX190-01E

CDAQMXChID::operator=

Syntax

CDAQMXChID & operator=(CDAQMXChID & cMXChID);

Parameters

cMXChID

Specify an object for substitution.

Description

Copies the data member of the specified object.

Return value

Returns the reference to the object.

Reference

getMXChID setMXChID

CDAQMXChID::setAlarmValue

Syntax

void setAlarmValue(int levelNo, int iAlarmType =
DAQMX_ALARM_NONE, int valueON = 0, int valueOFF = 0);

Parameters

levelNo

Specify the alarm level.

iAlarmType

Specify the alarm type.

valueON

Specify the threshold level (ON value) for alarm activation.

valueOFF

Specify the threshold level (OFF value) for alarm termination.

Description

Stores the specified value in the alarm field of the data member.

If the “Specify all alarm levels” constant is specified for the alarm level, the same
value is stored for all alarm levels.

CDAQMXChID::setChType

Syntax

virtual void setChType(int chType);

Parameters

chType

Specify the channel type.

Description

Stores the channel type field of the data member to the specified value.
Since the channel type is 0, this function does nothing.

2.5 Details of the MX100 Class

Advertising