2cdaqmxchid class, Public members – Yokogawa PC-Based MX100 User Manual

Page 136

Advertising
background image

2-113

IM MX190-01E

MX100 -Visual C++

2

CDAQMXChID Class

CDAQChInfo

CDAQMXChID

This class stores the channel ID information of the MX100.
It is a wrapper class of the MXChID structure.

This is the common section of the channel information data and channel setup data.

Public Members

Construct/Destruct

CDAQMXChID

Constructs an object.

~CDAQMXChID

Destructs an object.

initMXChID

Initializes the data in a structure.

Structure Manipulation

getMXChID

Gets the data in a structure.

setMXChID

Sets the data in a structure.

initMXChID

Initializes the data in a structure.

Member Data Manipulation

isValid

Gets the channel status.

getKind

Gets the channel type.

getRange

Gets the range type.

getScale

Gets the scale type.

getUnit

Gets the unit name.

getTag

Gets the tag.

getComment

Gets the comment.

getAlarmType

Gets the alarm type.

getAlarmValueON

Gets the ON value.

getAlarmValueOFF

Gets the OFF value.

setValid

Sets the channel status.

setType

Sets the channel type, range type, and scale type.

setUnit

Sets the unit name.

setTag

Sets the tag.

setComment

Sets the comment.

setAlarmValue

Sets the alarm value.

Utilities

getChName

Gets the channel name.

toChName

Creates the channel name.

toChNo

Extracts the channel number from the channel name.

toUnitNo

Extracts the unit number from the channel name.

2.5 Details of the MX100 Class

Advertising