Closeinstrument; Settimeout - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
EDH0373En1023 — 01/18
4.2

CloseInstrument

Name
CloseInstrument – Closes the current socket.
Description
This function is used to close the current socket.
Prototype
int CloseInstrument ()
Input parameters
None.
Output parameters
None.
Return
• 0: No error.
• -1: Error of socket close.
4.3

SetTimeout

Name
SetTimeout – Configures socket timeout.
Description
This function is used to configure socket timeout for sending and reading.
Prototype
int SetTimeout (int SendingTimeout, int ReadingTimeout)
Input parameters
SendingTimeout
ReadingTimeout
Output parameters
None.
Return
• 0: No error.
• -1: Error of set timeout.
int
Sending timeout in milliseconds.
int
Reading timeout in milliseconds.
12
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents