2member functions cdaqmxchid::cdaqmxchid, Cdaqmxchid::getalarmtype, Cdaqmxchid::getalarmvalueoff – Yokogawa PC-Based MX100 User Manual
Page 138

2-115
IM MX190-01E
MX100 -Visual C++
2
Member Functions
CDAQMXChID::CDAQMXChID
Syntax
CDAQMXChID(MXChID * pMXChID = NULL);
virtual ~CDAQMXChID(void);
Parameters
pMXChID
Specify the channel ID information.
Description
Constructs or destructs an object. When constructing, the specified data is stored in
the data member. If not specified, the data member is initialized.
Reference
setMXChID
CDAQMXChID::getAlarmType
Syntax
int getAlarmType(int levelNo);
Parameters
levelNo
Specify the alarm level.
Description
Gets the alarm type of the specified alarm level from the alarm field of the data
member.
Returns DAQMX_ALARM_NONE if it does not exist.
Return value
Returns the alarm type.
Reference
getMXAlarm
CDAQMXChID::getAlarmValueOFF
Syntax
int getAlarmValueOFF(int levelNo);
Parameters
levelNo
Specify the alarm level.
Description
Gets the threshold level for alarm termination (OFF 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 (OFF value) for alarm termination.
Reference
getMXAlarm
2.5 Details of the MX100 Class