Cdaqmx100::open, Cdaqmx100::reconstruct – Yokogawa PC-Based MX100 User Manual
Page 604
![background image](/manuals/360310/604/background.png)
12-40
IM MX190-01E
CDAQMX100::open
Syntax
virtual int open(const char * strAddress, unsigned int uiPort
= DAQMX_COMMPORT);
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 communication constant,
“MX100 communication port number.”
When initializing the data member for retrieval of the measured data and connection
is successful, those items are retrieved and stored.
Sets the communication timeout to 3 minutes (the time after which the measuring
instrument automatically closes the connection).
Return value
Returns an error number.
Reference
close measClear setTimeOut updateAll
CDAQMX::open
CDAQMX100::reconstruct
Syntax
int reconstruct(void);
Description
Reconfigures the system.
Updates the status and all information data if successful.
Return value
Returns an error number.
Reference
initSystem updateAll
12.4 Details of the MX100 Class