2private members, Cdaqmx::cdaqmx – Yokogawa PC-Based MX100 User Manual

Page 64

Advertising
background image

2-41

IM MX190-01E

MX100 -Visual C++

2

Private Members

None.

Member Functions (Alphabetical Order)

CDAQMX::autoFIFO

Syntax

int autoFIFO(int bAuto);

Parameters

bAuto

Specify auto control using a Boolean value.

Description

Sets auto control.

Stores the specified value in the automatic control field of the data member.
When enabled, the FIFO is started.

Return value

Returns an error number.

Reference

startFIFO

CDAQMX::CDAQMX

Syntax

CDAQMX(void);
CDAQMX(const char * strAddress, unsigned int uiPort =
DAQMX_COMMPORT, int * errCode = NULL);
virtual ~CDAQMX(void);

Parameters

strAddress

Specify the IP address as a string.

uiPort

Specify the port number.

errCode

Specify the destination where the error number is to be returned.

Description

Constructs or destructs an object.

When constructing, the data member is initialized. The default value as a general
rule is 0 (NULL). When the parameters are specified, a connection is established

(open) during construction. If the return destination is specified, the error number
during connection is returned.

When destructing, the data member field is released. The connection is dropped
(close) when the communication descriptor exists. The error number is not returned.

Reference

clearAttr close open
CDAQHandler::CDAQHandler

2.5 Details of the MX100 Class

Advertising