XPS Unified Programmer’s Manual
Table of Contents
1.0 Note ........................................................................................................... 1
2.0 TCP/IP Communication ......................................................................... 2
3.0 XPS .NET Software Drivers ................................................................... 3
3.1 How to Install .NET Drivers for XPS Controller ............................................................. 3
3.1.1 Requirements ......................................................................................................... 3
3.1.1 Installing the 32 bit (x86) Windows Platform ....................................................... 4
3.1.2 Installing the 64 bit (x64) Windows Platform ....................................................... 4
3.2
Variables Equivalent for Programming Langages ............................................................ 5
3.3 How to Use XPS .NET Assembly from Visual Studio C#? ............................................. 6
3.3.1 Add Reference to Newport XPS .NET Assembly ................................................. 6
3.3.2 C# Code Sources ................................................................................................... 6
3.4 How to Use XPS .NET Assembly from LabVIEW? ........................................................ 7
3.4.1 Add Reference to .NET Assembly ........................................................................ 7
3.4.2 LabVIEW Code Sources ....................................................................................... 7
3.5 How to Use XPS .NET Assembly from IronPython? ....................................................... 8
3.5.1 Add Reference to .NET Assembly ........................................................................ 8
3.5.2 IronPython Code Source ....................................................................................... 8
3.6 How to Use XPS .NET Assembly from Matlab? ........................................................... 10
3.6.1 Add Reference to .NET Assembly ...................................................................... 10
3.6.2 Matlab Code Source ............................................................................................ 10
4.0 TCP/IP Support Functions ................................................................... 11
4.1 OpenInstrument .............................................................................................................. 11
4.2 CloseInstrument .............................................................................................................. 12
4.3 SetTimeout ..................................................................................................................... 12
5.0 XPS Standard Firmware Architecture (Base Version) ...................... 13
5.1 Group Definition............................................................................................................. 13
5.1.1 Object Structure ................................................................................................... 13
5.2 Positioner Definition ....................................................................................................... 14
5.2.1 Object Structure ................................................................................................... 14
5.2.2 Definition of the Positions Available for Each Positioner ................................... 15
5.3 SingleAxis Group ........................................................................................................... 16
5.3.1 State Diagram ...................................................................................................... 17
5.4 Spindle Group ................................................................................................................. 18
iii EDH0373En1023 — 01/18