Cdaqmxchconfigdata::initmxchconfigdata, Cdaqmxchconfigdata::iscorrect – Yokogawa PC-Based MX100 User Manual

Page 133

Advertising
background image

2-110

IM MX190-01E

CDAQMXChConfigData::initMXChConfigData

Syntax

static void initMXChConfigData(MXChConfigData *
pMXChConfigData);

Parameters

pMXChConfig

Specify the field for the channel setup data for all channels.

Description

Initializes the specified field.
The default value as a general rule is 0.

CDAQMXChConfigData::isCorrect

Syntax

int isCorrect(int iTempUnit = DAQMX_TEMPUNIT_C);

Parameters

iTempUnit

Specify the temperature unit type.

Description

Checks the validity.
All channels are checked collectively.

Checks the associations between channels.
If an invalid value is detected, Invalid is returned.
If an invalid value is detected, the setting item number that indicates the detected

location is stored in the setting item number field of the data member.

Return value

Returns a Boolean value.

Reference

CDAQMXChConfig::getItemError CDAQMXChConfig::getKind
CDAQMXChConfig::getRange CDAQMXChConfig::getRefChNo
CDAQMXChConfig::isCorrect CDAQMXChConfig::isValid

2.5 Details of the MX100 Class

Advertising