© 2020 Thorlabs GmbH
4 Write Your Own Application
37
4 Write Your Own Application
In order to write your own application, you need a specific instrument driver and some tools for
use in different programming environments. The driver and tools are included in the installer
package that can be downloaded from the website.
In this section the location of drivers and files, required for programming in different environ-
ments, are given for installation under Windows 7 (32 and 64 bit).
Note
DC2200 software and drivers contains 32 bit and 64 bit applications.
In 32 bit systems, only the 32 bit components are installed to
C:\Program Files\...
In 64 bit systems the 64 bit components are being installed to
C:\Program Files\...
while 32 bit components can be found at
C:\Program Files (x86)\...
In the table below you will find a summary of what files you need for particular programming en-
vironments.
*.fp (function panel file; CVI IDE only)
*.h (header file)
*.lib (static library)
*.dll (dynamic linked library)
*.h (header file)
*.lib (static library)
or
.net wrapper dll
*.fp (function panel) and NI-VISA™ instrument driver
Beside that, LabVIEW™ driver vi's are provided with the *.llb
container file
Note
All above environments require also the NI-VISA™ instrument driver .dll !
During NI-VISA™ Runtime installation, a system environment variable VXIPNPPATH for includ-
ing files is created. It contains the information where the drivers are installed to, usually to C:
\Program Files\IVI Foundation\VISA\WinNT\.
This is the reason, why after installation of a NI-VISA™ Runtime a system reboot is required:
This environment variable is necessary for installation of the instrument driver software com-
ponents.
In the next sections the location of above files is described in detail.