Cdaqmx100::sethisterisys – Yokogawa PC-Based MX100 User Manual

Page 613

Advertising
background image

12-49

IM MX190-01E

MX100 for Exteded API

12

CDAQMX100::setFilter

Syntax

int setFilter(int chNo, int iFilter);

Parameters

chNo

Specify the channel number.

iFilter

Specify the filter coefficient.

Description

Sets the filter coefficient on the channel of the specified channel number.

Changes the setup data fields of the data member and sends them collectively.
If the constant for “Specify All Channels” is specified for the channel numbers, all

channels are processed.

Return value

Returns an error number.

Reference

getClassMXItemConfig setItemAll
CDAQMXChConfig::setFilter
CDAQMXItemConfig::getClassMXChConfig

CDAQMX100::setHisterisys

Syntax

int setHisterisys(int chNo, int levelNo, double histerisys);
int setHisterisys(int chNo, int levelNo, int histerisys = 0);

Parameters

chNo

Specify the channel number.

levelNo

Specify the alarm level.

histerisys

Specify the hysteresis.

Description

Sets the hysteresis for the alarm level of the specified channel number.

Changes the setup data fields of the data member and sends them collectively.
If the constant for “Specify All Channels” is specified for the channel numbers, all

channels are processed.
If the alarm level is set to the constant for “Specify all alarm level numbers,” all alarm

levels are processed.

Return value

Returns an error number.

Reference

getClassMXItemConfig setItemAll
CDAQMXChConfig::getAlarmType
CDAQMXChConfig::getAlarmValueON
CDAQMXChConfig::getPoint
CDAQMXChConfig::setAlarm
CDAQMXItemConfig::getClassMXChConfig

12.4 Details of the MX100 Class

Advertising