2cdaqmx::isobject, Cdaqmx::nop – Yokogawa PC-Based MX100 User Manual

Page 78

Advertising
background image

2-55

IM MX190-01E

MX100 -Visual C++

2

CDAQMX::isObject

Syntax

virtual int isObject(const char * classname = "CDAQMX");

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

CDAQMX::nop

Syntax

int nop(void);

Description

Executes a command.

The MX100 only returns a response.

Return value

Returns an error number.

Reference

getNo getPacketVersion getUserTime runCommand

2.5 Details of the MX100 Class

Advertising