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 prior to 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 full 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.
In all examples, the program opens a card, obtains it's card identity, operates a single switch and then closes the card.
PXI Direct IO Driver - pilpxi
View pilpxi driver documentation - help file
View pi40iv driver documentation - help file
LXI DIrect IO Driver - piplx (and picmlx)
View piplx driver documentation - help file