Cdaqmxdatainfo::setalarm, Cdaqmxdatainfo::setclassmxchinfo, Cdaqmxdatainfo::setmxdatainfo – Yokogawa PC-Based MX100 User Manual

Page 181: Cdaqmxdatainfo::setstatus

Advertising
background image

2-158

IM MX190-01E

CDAQMXDataInfo::setAlarm

Syntax

void setAlarm(int levelNo, int bValid);

Parameters

levelNo

Specify the alarm level.

bValid

Specify the Boolean value.

Description

Sets the alarm presence/absence field of the data member to the specified value.

If the alarm level is outside the range, it is not set.

CDAQMXDataInfo::setClassMXChInfo

Syntax

void setClassMXChInfo(CDAQMXChInfo * pcMXChInfo);

Parameters

pcMXChInfo

Specify a pointer to the channel information data class.

Description

Stores the specified value to the association with the channel information data of the
data member.

Reference

setClassChInfo

CDAQMXDataInfo::setMXDataInfo

Syntax

void setMXDataInfo(MXDataInfo * pMXDataInfo);

Parameters

pMXDataInfo

Specify the association with the channel information data.

Description

Sets the data in a structure.

Stores the contents of the specified structure in the data member.
If not specified, the data member is initialized.

Reference

initialize setStatus setValue

CDAQMXDataInfo::setStatus

Syntax

void setStatus(int iDataStatus);

Parameters

iDataStatus

Specify the data status.

Description

Stores the data status field of the data member to the specified value.

2.5 Details of the MX100 Class

Advertising