Yokogawa PC-Based MX100 User Manual

Page 609

Advertising
background image

12-45

IM MX190-01E

MX100 for Exteded API

12

CDAQMX100::setChKind

Syntax

int 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.
The channel settings are set to the default values.

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.
The reference channel number is valid if the channel type is AI (difference between

channels), DI (difference between channels), AI (remote RJC), AO (transmission
output), or PWM (transmission output).

Return value

Returns an error number.

Reference

getClassMXItemConfig setItemAll
CDAQMXItemConfig::setAOType
CDAQMXItemConfig::setDELTA
CDAQMXItemConfig::setDI
CDAQMXItemConfig::setDOType
CDAQMXItemConfig::setPWMType
CDAQMXItemConfig::setRRJC
CDAQMXItemConfig::setSKIP
CDAQMXItemConfig::setVOLT

12.4 Details of the MX100 Class

Advertising