Owner manual

12-50 IM MX190-01E
CDAQMX100::setHold
Syntax
int setHold(int doNo, int bHold);
Parameters
doNo Specify the data number.
bHold Specify hold using a Boolean value.
Description
Sets hold on the specified DO data number of the specified channel.
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.
Return value
Returns an error number.
Reference
getClassMXItemConfig setItemAll
CDAQMXChConfig::setHold
CDAQMXItemConfig::getClassMXChConfig
CDAQMX100::setIntegral
Syntax
int setIntegral(int moduleNo, int iHz);
Parameters
moduleNo Specify the module number.
iHz Specify the type of A/D integration time.
Description
Sets the A/D integration time type on the module of the specified module number.
Changes the setup data fields of the data member and sends them collectively.
If the constant for “Specify all module numbers” is specified for the module numbers,
all modules are processed.
Return value
Returns an error number.
Reference
getClassMXItemConfig setItemAll
CDAQMXItemConfig::getClassMXSysInfo
CDAQMXItemConfig::setInterval
CDAQMXSysInfo::getInterval
12.4 Details of the MX100 Class