Cdaqmxconfig::setchkind, Cdaqmxconfig::setcom – Yokogawa PC-Based MX100 User Manual

Page 165

Advertising
background image

2-142

IM MX190-01E

CDAQMXConfig::setChKind

Syntax

void setChKind(int chNo,int iKind,int refChNo =
DAQMX_REFCHNO_NONE);

Parameters

chNo

Specify the channel number.

iKind

Specify the channel type.

refChNo

Specify the reference channel number.

Description

Sets the channel type on the channel of the specified channel number.
If the channel type is AI (difference between channels), DI (difference between

channels), AI (remote RJC), AO (transmission output), or PWM (transmission
output), the reference channel specification is valid.

The settings for each channel are set to the default values.

Reference

setAOType setDELTA setDI setDOType setPWMType setRRJC setSKIP
setVOLT

CDAQMXConfig::setCOM

Syntax

void setCOM(int chNo, int iRangeCOM, int spanMin = 0, int
spanMax = 0);

Parameters

chNo

Specify the channel number.

iRangeCOM

Specify the communication range from the range type.

spanMin

Specify the span minimum.

spanMax

Specify the span maximum.

Description

Sets the channel of the specified channel number to the specified range.

If the maximum and minimum values are the same, the span is considered omitted.
If the channel does not exist or the channel is not on the corresponding module, the

setting is void.
If the constant for “Specify all channel numbers” is specified for the channel

numbers, all channels are processed.

Reference

getClassMXChConfig getClassMXSysInfo CDAQMXChConfig::setCOM
CDAQMXChConfig::setSpan CDAQMXSysInfo::getModuleType
CDAQMXSysInfo::getTempUnit

2.5 Details of the MX100 Class

Advertising