2cdaqmxconfig::setaotype – Yokogawa PC-Based MX100 User Manual

Page 164

Advertising
background image

2-141

IM MX190-01E

MX100 -Visual C++

2

CDAQMXConfig::setAOType

Syntax

void setAOType(int aoNo,int iKind,int refChNo =
DAQMX_REFCHNO_NONE);

Parameters

aoNo

Specify the AO data number.

iKind

Specify the AO type using channel type.

refChNo

Specify the reference channel number.

Description

Sets the channel type of the AO module.

If unused is specified for the channel type, the channel is set to SKIP (not used).
If AO (transmission output) is specified for the channel type, specify the channel

number of the input channel for the reference channel.
If the channel does not exist, the channel is not on the AO module, or the specified

type is not an AO type, the channel type is not set.
If the constant for “Specify all AO/PWM numbers”is specified for the AO data

numbers, all AO channels are processed.
Each setting type for the channels is reset to match the output type of the output

channel data.

Reference

getClassMXChConfig getClassMXOutputData getClassMXSysInfo
setSKIP
CDAQMXChConfig::setAO
CDAQMXChConfig::setRefChNo
CDAQMXChConfig::setType
CDAQMXChConfig::setValid
CDAQMXOutputData::getOutputType
CDAQMXSysInfo::getModuleType

2.5 Details of the MX100 Class

Advertising