![THORLABS TSP-TH Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/thorlabs/tsp-th/tsp-th_operation-manual_1110999023.webp)
© 2018 Thorlabs
4 Write Your Own Application
21
Example for C#
Solution file:
C:\Program Files\IVI Foundation\VISA\WinNT\TLTSPB\Examples…
…\MS.NET_CS\Thorlabs.TLTSP01B.Sample.sln
Project file:
C:\Program Files\IVI Foundation\VISA\WinNT\TLTSPB\Examples…
…\MS.NET_CS\ASmple\Thorlabs.TLTSP01B.Sample.csproj
Example for LabView
™
C:\Program Files\National Instruments\LabVIEW xxxx\Instr.lib\TLTSPB…
…\TLTSPB.llb
(LabVIEW
™
container file with driver vi's and an example. "LabVIEW xxxx" stands for actual
LabVIEW
™
installation folder.)
4.1.2 Changing the Driver for TSP01 RevB
Note
With the transition from TSP01 to TSP01 RevB at the end of 2018, the driver changed. TSP01
sensors without the RevB label require the installation of NI-VISA™, while TSP01 RevB
sensors do not.
The NI-VISA
™
engine can be installed from the following sources:
·
The software CD shipped with previous-revision TSP01 sensors (not labeled RevB). The in-
staller includes NI-VISA™.
·
The National Instruments' website
For customers who wrote their own application for the old driver, using the C-library
TLTSP_32.dll or TLTSP_64.dll and want to integrate the new
TLTSPB
temperature and humid-
ity logger into their application, please follow the instructions below:
1. Include the new Header file into the project
#include "TLTSP
B
.h"
2.
Copy all functions of the TLTSP and change the prefix TLTSP by TLTSP
B
for all of the copied functions.
TLTSP_init
®
TLTSP
B
_init
3. The prototype of some functions changed according to the unification to all other new
Thorlabs drivers.
TLTSP_getDeviceCount
®
TLTSP
B
_findRsrc
TLTSP_getDeviceResourceString
®
TLTSP
B
_getRsrcName
4. Add the library TLTSPB_32.lib to the project
In the project settings add “TLTSPB_32.lib” to the project.
Содержание TSP-TH
Страница 1: ...Environmental Measurement TSP01 Operation Manual 2018...
Страница 2: ...Version Date 1 4 21 Nov 2018 Copyright 2018 Thorlabs...
Страница 36: ...2018 Thorlabs 34 TSP01 7 4 Certifications and Compliances...
Страница 39: ...www thorlabs com...