Protected members, Private members – Yokogawa PC-Based MX100 User Manual
Page 52
2-29
IM MX190-01E
MX100 -Visual C++
2
Protected Members
Data Members
m_comm
Field for storing the communication descriptor.
m_nRemainSize Field for storing the remaining size of the received data.
Communication Functions
send
Sends the data.
receive
Receives the data.
Utilities
receiveRemain
Receives the remaining bytes and discards them.
getVersionDLL
Gets the version number of the DLL.
getRevisionDLL
Gets the revision number of the DLL.
Private Members
None
Member Functions (Alphabetical Order)
CDAQHandler::CDAQHandler
Syntax
CDAQHandler(void);
CDAQHandler(const char * strAddress, unsigned int uiPort, int
* errCode = NULL);
virtual ~CDAQHandler(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. Connection is dropped (close)
when the communication descriptor exists. The error number is not returned.
Reference
close open
2.4 Details of the MX100/DARWIN Common Class