Cdaqhandler::close, Cdaqhandler::getchannel – Yokogawa PC-Based MX100 User Manual

Page 53

Advertising
background image

2-30

IM MX190-01E

CDAQHandler::close

Syntax

virtual int close(void);

Description

Drops the connection. Destructs the communication descriptor.

Return value

Returns an error number.

Error:
Not connected

Not connected.

Communication error An error was detected in communications.

CDAQHandler::getChannel

Syntax

virtual int getChannel(int chType, int chNo, CDAQChInfo &
cChInfo);

Parameters

chType

Specify the channel type.

chNo

Specify the channel number.

cChInfo

Specify the destination where the channel information data is to be

returned.

Description

This function gets the channel information data by channels.
This function must be overridden with the inheritance class of each model. Returns

an error number if not overridden.

Return value

Returns an error number.

Error:
Not Support

Not supported.

2.4 Details of the MX100/DARWIN Common Class

Advertising