2cdaqmx::getchconfig – Yokogawa PC-Based MX100 User Manual

Page 68

Advertising
background image

2-45

IM MX190-01E

MX100 -Visual C++

2

CDAQMX::getChConfig

Syntax

int getChConfig(CDAQMXChConfig & cMXChConfig, int * pFlag =
NULL);

Parameters

cMXChConfig

Specify the destination where the channel setup data is to be

returned.

pFlag

Specify the destination where the flag is to be returned.

Description

Gets the channel information data that was declared to be retrieved using the
talkConfig function in units of channels. Analyzes information and stores the data in

the return destination. When the last set of data is retrieved, the flag status is set. It
is also set when the function ends in error. Do not perform communications using

other functions until the data retrieval is completed.
Packets differ with the style number of the main unit.

Return value

Returns an error number.
Error:

Not support

Unsupported version. Or, the sequence of execution was
incorrect.

Reference

getPacketVersion receiveBlock CDAQMXChConfig::setChNo

2.5 Details of the MX100 Class

Advertising