7cdaqdarwin::isobject, Cdaqdarwin::open – Yokogawa PC-Based MX100 User Manual

Page 421

Advertising
background image

7-23

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWIN::isObject

Syntax

virtual int isObject(const char * classname = "CDAQDARWIN";

Parameters

classname

Specify the class name using a string.

Description

Checks whether the specified class name was inherited.
If parameters are omitted, checks whether it is this class.

Classes that inherit this class must be overridden in order to check their own
classes.

Returns true (valid) if the class was inherited. Otherwise, returns false (invalid).
If different from this class, checks the parent class.

Return value

Returns a boolean value.

Reference

CDAQHandler::isObject

CDAQDARWIN::open

Syntax

virtual int open(const char * strAddress, unsigned int
uiPort);

Parameters

strAddress

Specify the IP address as a string.

uiPort

Specify the port number.

Description

Connects to the device with the IP address and port number specified by the
parameters.

The port number can be omitted. If omitted, it is set to the DARWIN communication
port number.

Return value

Returns an error number.

Reference

CDAQHandler::open

7.4 Details of the DARWIN Class

Advertising