Page 4.2
8 TRIBUTARY 75Ω DAISY CHAIN SWITCH 40-792
pickering
SECTION 4 - PROGRAMMING GUIDE
Register-level Programming
Where the supplied drivers are not suitable, register-level programming can be employed - for example:
●
If the functionality of the supplied drivers does not meet the application requirements
●
If security considerations demand full source-code for the application
●
In development environments that have alternate mechanisms for accessing PCI bus
●
For operating systems other than Windows
Programming for LXI
When Pickering PXI cards are inserted into an LXI Modular Chassis a different set of drivers is available.
IVI Driver for Windows - pi40iv
The pi40iv IVI also supports LXI inserted cards simply by changing the resource string to address string to the
appropriate address.
Direct I/O Driver for Windows - Piplx
The piplx driver is based on the PXI Direct I/O driver pilpxi, but with added functionality to deal with the added need
to address the chassis using an IP address. It integrates well with LabWindows/CVI and LabVIEW, and is fully
compatible with Switch Executive. It is also usable in general-purpose programming environments such as Visual
C++ and Visual Basic.
Please note that this driver may also be used in the PXI domain. If the addressed card is in the local computer PCI/
PXI system, commands will be passed through to the PXI Direct I/O driver. This mechanism allows the piplx driver
to be used for both PXI and LXI cards.
The LXI format offers additional interface options not available in PXI :
.NET
A .NET native driver is also available. Once again this may be used for both LXI and PXI card control.
SOAP
Pickering LXI products include a SOAP interface which is usable from a wide variety of platforms and languages.
SSH
Pickering LXI products include an SSH interface which allows remote command line access to control cards, or,
using a suitable package, programmatic control.
The user is advised to visit the Pickering web site for further details of all the above drivers, where documentation,
example programs, and further help with driver choice are available.
LabVIEW, LabWindows/CVI and Switch Executive are trademarks of National Instruments Corporation.
General Pickering Card Architecture
With most drivers, before programming a Pickering card it is important to understand the basic architecture of
Pickering cards.
The switches on a Pickering card are organized into logical sub-units, each sub-unit containing a set of objects of
similar type and use. These objects may be switches, digital outputs, digital inputs, resistors, power supplies etc,
depending on the nature of the specific card.
For example a simple matrix card will usually contain a single sub-unit containing the switches arranged in a
2-dimensional array. However a similar card with additional isolating relays connected to the matrix will contain
additional sub-units containing those isolation relays.
Low level drivers include functions to allow the programmer to query the card to ascertain the number of sub-units,
and the size and type of each sub-unit.
For full details of the driver functions available the programmer should refer to the documentation provided.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com