Pickering VISA driver is compatible with LabVIEW™ RT and LabWindows/CVI RT, this article explains how to set up a LabVIEW RT target system to use the Pickering driver.
Setting up the RT target
The target system must be set up as defined by National Instruments. This process is beyond the scope of this article, the user should refer to National Instrument documentation.
The user must copy the VISA system to the target since the Pickering drivers use VISA to communicate with the hardware. This is an optional selection in the LabView RT set-up process, when the LabView RT system has been created use NI's Measurement and Automation Explorer (MAX) to copy the VISA system to the target.
In order for the target system to recognise the Pickering cards on power-up, the Windows INF files must be copied to the target system to allow the VISA software system to recognise the cards.
NOTE: For the following steps, files from the pipx40 installation folder have to be copied to the target system. The installation folder is normally to be found in C:\Program Files\IVI Foundation\VISA\WinNT, on older systems it may be C:\VXIPNP\WinNT.
The Pickering INF files must be copied to the target system, this is easily performed using an ftp client. Some versions of MAX include the facility to transfer files to the target, the following example uses an external application, FileZilla, to perform the transfer.
Select all the INF files from the LabVIEW RT folder in the pipx40 installation folder and transfer these to the NI-RT\SYSTEM folder on the target RT system.
Close the ftp client.
This file may be transferred from within the LabWindows environment, or using an ftp client.
From the LabWindows/CVI environment, select the menu item 'Run' and then 'Manage Files on Real-Time Execution Target'
From the 'File Copy' dialog, select 'Add Files' and navigate to the location of the Pickering pipx40_32.dll driver file. This will be located in 'bin' folder of the the VISA installation folder.
Once this is added the 'File Copy' dialog should show the entry for the pipx40_w32.dll driver file.
Click 'Done' to exit.
After a re-boot of the target system, the Pickering cards should be visible from MAX.
The target system is now ready to accept LabWindows/CVI RT programs.
The following code segment is a trivial program which opens a specified Pickering card and then randomly actuates 100 relays. Fore details of the driver and it's functionality, refer to the help files provided in the pipx40 installation folder.