![Ametek VTI Instruments EX1200-1538 User Manual Download Page 37](http://html1.mh-extra.com/html/ametek/vti-instruments-ex1200-1538/vti-instruments-ex1200-1538_user-manual_3044149037.webp)
www.vtiinstruments.com
EX1200-1538: Programming the Instrument
37
P
ROGRAMMING THE
I
NSTRUMENT
R
ELATED
S
OFTWARE
C
OMPONENTS
IVI-COM Driver
IVI-C Driver
LabView Driver
Linux C++ Driver
U
SING THE
D
RIVER
The EX1200-1538 may be used in a variety of environments including: Visual Basic, C#, C++,
LabView. VTI Instruments provides an IVI-C and IVI-COM compliant driver as well as a shared
object that can be used on Linux systems that comply with the Linux Standard Base (Version 3.1).
Here is how to use the driver in each environment:
1)
Visual Studio C++
#import "IviDriverTypeLib.dll" no_namespace
#import "VTEXMultifunction.dll" no_namespace
2)
C#
Add a reference to VTEXMultifunction.dll in the project. Include the following at the top of
any code file that will access the driver:
using VTI.VTEXFgen.Interop;
3)
C/C++ on Windows
Link against VTEXFgen.lib and include VTEXMultifunction.h in the file.
4)
C++ on Linux
Link against /opt/vti/lib/libmultifunction.so and include all the headers in /opt/vti/include in
the source file.
5)
LabView
Copy the driver package to the <Labview>/instr.lib directory and access all relevant VIs
I
NITIALIZING
\C
LOSING THE
I
NSTRUMENT
The base interface of the EX1200-1538 IVI driver, VTEXMultifunction (LibMultifunction on
Linux), is used to open and close connections to the instrument as well as containing pointers to
all other interfaces to access the functionality of the instrument.
Visual Studio C++
#import "IviDriverTypeLib.dll" no_namespace
#import "VTEXMultifunction.dll" no_namespace
int main()