Using Pickering Drivers in LabWindows/CVI
Most Pickering drivers include a CVI wrapper to permit full operation of the Pickering product from the LabWindows/CVI environment.
The process of controlling a Pickering product normally consists of the following steps:
- Open a control session on the product
- Use functions in the library to operate the product
- Close the control session
In the case of LXI products, there is an additional step to establish a communication session on the remote LXI device before opening the control session on the hardware. This communication session should also be terminated when no longer required.
The LabWindows/CVI libraries are wrappers of the underlying low-level driver, and complete details of the functions can be found in the corresponding low-level driver documentation.
Following are simple examples of the use of the most common Pickering drivers. These examples can be downloaded by clicking on the link below the images. You can also find all LabWindows/CVI examples here: https://downloads.pickeringtest.info/downloads/example_software/LabWindowsCVI/
In all examples, the program opens a card, obtains its card identity, operates a single switch and then closes the card.
PXI VISA Driver - pipx40
View pipx40 driver documentation - help file
PXI Direct IO Driver - pilpxi
View pilpxi driver documentation - help file
IVI Driver - pi40iv
View pi40iv driver documentation - help file
LXI DIrect IO Driver - piplx (and picmlx)
View piplx driver documentation - help file