Cdaqmx100::setchoice, Cdaqmx100::setchrrjc – Yokogawa PC-Based MX100 User Manual

Page 610

Advertising
background image

12-46

IM MX190-01E

CDAQMX100::setChoice

Syntax

int setChoice(int outputNo, int idleChoice, int errorChoice,
int presetValue);
int setChoice(int outputNo, int idleChoice, int errorChoice,
double presetValue);

Parameters

outputNo

Specify the output channel data number.

idleChoice

Specify the selected value when idling.

errorChoice

Specify the selected value when an error occurs.

presetValue

Specify the value if the selected value is the “specified value.”

Description

Sets the selection on the output channel data of the specified output channel data

number.
Changes the setup data fields of the data member and sends them collectively.

If the constant for “Specify All output data numbers” is specified for the output data
number, all channels are processed.

Return value

Returns an error number.

Reference

getClassMXItemConfig setItemAll
CDAQMXItemConfig::getClassMXOutputData
CDAQMXItemConfig::getRangePoint
CDAQMXOutputData::setChoice

CDAQMX100::setChRRJC

Syntax

int setChRRJC(int chNo, int refChNo);

Parameters

chNo

Specify the channel number.

refChNo

Specify the reference channel number.

Description

Sets the remote RJC for the specified reference channel.

Channel settings outside the range take 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.

Return value

Returns an error number.

Reference

getClassMXItemConfig setItemAll
CDAQMXItemConfig::setRRJC

12.4 Details of the MX100 Class

Advertising