EasyManua.ls Logo

Newport XPS - How to Use XPS.NET Assembly from Matlab; Add Reference to.NET Assembly; Matlab Code Source

Newport XPS
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
XPS Unified Programmer’s Manual
3.6 How to Use XPS .NET Assembly from Matlab?
Refer to Matlab for more information on how to load and use a .NET assembly
depending on your Matlab version.
3.6.1 Add Reference to .NET Assembly
% Make the assembly visible from Matlab
asmInfo = NET.addAssembly('Newport.XPS.CommandInterface')
3.6.2 Matlab Code Source
Create an Instance
% Make the instantiation myxps=CommandInterfaceXPS.XPS();
Open XPS Connection
% Connect to the XPS controller
code=myxps.OpenInstrument('192.168.254.254',5001,1000);
Call XPS Functions
% Use API's
[code Version]=myxps.FirmwareVersionGet [code]=myxps.GroupKill('Group1')
[code]=myxps.GroupInitialize('Group1')
[code]=myxps.GroupHomeSearch('Group1')
Close XPS Connection
% Disconnect from the XPS controller
code=myxps.CloseInstrument;
EDH0373En1023 01/18 10

Table of Contents

Other manuals for Newport XPS

Related product manuals