a. In the LabVIEW block diagram window, select menu Tools /
Instrumentation / Import CVI driver
b. Import the .fp file for your device (typically at C:\Program
Files\IVI\Drivers\ts18??.fp, where ?? is the model number of your device)
c. In the dialog box “CVI Functional Panel Converter”, browse to the correct
DLL file (typically at C:\Program Files\IVI\Bin\ts18??, where ?? is the
model number of your device)
d. Click OK twice
3. Create a LabVIEW block diagram that calls this converted driver
a. From the Functions Palette, choose Input / Instr drivers, and then choose
your device.
b. Place Initialize, Connect, Close, and other functions in your program as
needed.
c. Use the TAMS Switch Front Panel / Tools /Resource Name to copy the
resource name to the clipboard
d. Paste the resource name into a string constant to be input to the Initialize
function.
An example program is shown in example1.vi. It uses the LabVIEW sequencer to first
Initialize the device, then connect channels “1” and “1c”, then wait 1000 ms, then
disconnect channels “1” and “1c”, and then close the device.
- 18 -