Tcp/Ip Support Functions; Openinstrument - 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
4.0

TCP/IP Support Functions

To ease the use of the TCP/IP communication, few functions have been develop by
Newport. These functions uses the Microsoft System.Net.Sockets.
4.1

OpenInstrument

Name
OpenInstrument – Create and open a socket.
Description
This function is used to create and open a socket. Send Timeout is set to 1 second
Prototype
int OpenInstrument (string IP_Address, int Port, int ReceiveTimeout)
Input parameters
IP_Address
Port
Timeout
Output parameters
None.
Return
• 0: No error.
• -1: Error of socket open.
string
IP address of instrument.
int
Port number.
int
ReceiveTimeout in milliseconds.
11
Programmer's Manual
EDH0373En1023 — 01/18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents