PXI tutorial includes:
What is PXI?PXI standardPXI chassisPXI bus and backplanePXI controllerPXI cards & modulesPXI softwarePXI ExpressPXImc MultiComputingSet-up & build PXI system

The PXI chassis provides the means by which the whole PXI test system is able to be held together. It provides the services which the individual cards require for the operation. It also provides everything from the mechanical card holders to the power supply and the air cooling required in such a densely packed volume.

The PXI card is a PXI hybrid slot card which has the form factor shown in the image below. The connector pinout uses the specifciation from section 4.10.3 'PXI Express Hybrid Peripheral Slot' defined in the PXI Express Hardware Specification, rev 1.0. The card is intended to be used in the NI PXI-1042 and AdLink PXIS-2719A. Thanks for your help. All Hybrid Peripheral Slots Design. The ADLINK PXES-2590 features an all-hybrid peripheral slot design, with PXI Express, cPCI Express, PXI, and CompactPCI modules compatible with every slot. ADLINK’s PXI Express chassis accepts hybrid slot-compatible PXI-5 modules (with XJ4 connector). Legacy PXI-1 boards (with J2 connector).

The chassis is standardised so that PXI cards and instruments will not only be able to mechanically fit, but electrically operate to their potential within the chassis.

In order to be able to operate correctly, both cards or test instruments and the PXI chassis must conform to the standard. There are a number of salient features within the specification that enable the cards and the chassis to operate together.

PXI chassis environmental requirements

The PXI specifications states that any chassis that are manufactured should be well suited to harsh environments. Although they are not expected to meet the same requirements as military grade equipment, they should nevertheless be able to operate within many industrial environments. For example it may be necessary to operate a PXI chassis in a factory environment for data acquisition where temperatures may vary beyond those seen in a laboratory or where there is some degree of dirty. Certain levels of vibration may also be seen.

To meet these requirements the PXI chassis is based around the Eurocard packaging system used by compactPCI. As part of the system, high performance IEC connectors are used to ensure reliability over long periods of time.

To ensure that the chassis and its associated modules can operate over a sufficiently wide temperature range, the PXI specification includes specific cooling and environmental requirements. These ensure it is able to operate within a variety of industrial environments.

PXI chassis connector system

The connector system used is crucial to its operation. Connectors can be a considerable source of problems, especially when systems are used within non-laboratory environments. Intermittent contacts caused from poor connectors can be particularly time-consuming to fault find. Accordingly a high reliability connector solution was chosen.

Also to maintain compatibility, PXI uses the same pin-in-socket connector system that is found in the CompactPCI racks and systems.

The connectors used in the PXI chassis are defined by the International Electrotechnical Commission, IEC-1076 and offer a high level of performance under all conditions. The connectors pins are on a 2 mm pitch and are also impedance matched so that they provide a high level of performance within the chassis and are able to provide PXI systems more slots on a single bus segment than traditional desktop PCs systems.

Basic PXI chassis parameters

The chassis system is based around the Eurocard packaging system. This provides a number of advantages including a system that is already established. Furthermore the connectors that are used are the IEC-1076 style. The pins are on a 2 mm pitch giving a very dense connection system. In addition to this they are impedance matched to provide the required performance at high frequencies.

The PXI system supports the two sizes, namely 3U and 6U with the details outlined in the table below:

PXI card sizes
Measurements in mm Measurements in inches
3U 100 by 160 3.94 by 6.3
6U 233.35 by 160 9.19 by 6.3

The 3U standard has two interface connectors. One carries the signals required for the 32-bit PCI local bus and the other carries the signals for 64-bit PCI transfers and the signals for implementing various electrical features of the system. The 6U form factor defines modules that may carry up to two additional connectors for future expansion of the PXI specification. The larger card size also allows for a additional circuitry that may be required for some instruments.

In general the 3U PXI chassis and modules are more widely used. However the 3U modules can be fitted into a 6U chassis using a simple adaptor.

PXI chassis widths

PXI chassis come in a number of different sizes and the correct chassis size or type can be chosen for a given application. There is no need to buy a large chassis at extra cost if only a small number of cards are to be used.

Generally there are two sizes of chasses - a full 19 inch rack compatible size and a half rack width.

The full rack width chassis typically has 18 slots, whilst the half sized chassis has 8 slots.

PXI chassis slots functions

Each PXI chassis has a number of slots. As mentioned above the chassis have either eight or eighteen slots. Not all the slots can be used for all cards. There are some positions reserved for particular applications.

  • Slot 1: Slot 1 in the PXI chassis is reserved for the controller - this is the only position in which the controller will operate. Normally this is 4 units wide to allow for all the space required for embedded controllers, although some controllers could be smaller. Cards that link out to computers to provide the control are often only one module width and therefore in these circumstances blanking plates may be required to cover the empty space.
  • Peripheral slots: These are slots that can be used for the test instruments, etc. There may be some restrictions on the types of module that can be used in terms of PXI, PXIe, etc, but these are indicated by the glyphs on the chassis as described below.
  • Timing slot: On larger chassis a timing slot may be indicated. This can be used for normal peripheral modules, but it is also the one to be used if any timing or synchronising modules are to be used. This slot is on the bridge between the two sides of the chassis and it provides the shortest delay between all the modules in the rack.

As a further note, if large amounts of peer to peer streaming is required, then it is best to place the two modules that will be streaming the data on the same side of the backplane bridge, i.e. on the same side of the timing slot.

PXI chassis glyphs

In order to identify the different types of modules that can be accommodated within a PXI chassis, small identification glyphs are used with each slot to highlight what it can accommodate.

The numbers in the glyphs normally refer to the slot number, but in this instance the explanations are linked to the glyph numbers:

  • 1 PXI Express system slot
  • 2 PXI-1 peripheral slot, i.e. the basic PXI before PXIe was introduced.
  • 3 PXI Express hybrid slot - i.e. it will accommodate both PXIe, and the basic PXI
  • 4 PXI Express only peripheral slot
  • 5 PXI Express system timing slot

It can be seen how the PXI chassis identification glyphs are shown and how they indicate the capabilities of each slot.

More Test Topics:
Data network analyzerDigital MultimeterFrequency counterOscilloscopeSignal generatorsSpectrum analyzerLCR meterDip meter, GDOLogic analyzerRF power meterRF signal generatorLogic probePAT testing & testersTime domain reflectometerVector network analyzerPXIGPIB Boundary scan / JTAG
Return to Test menu . . .

Introduction

PCI eXtensions for Instrumentation or PXI is a computer based hardware and software platform for test and measurement systems. Developed in the late 1990’s as an open industry standard based on the compact PCI (cPCI) computer bus, PXI provides a basis for complex, rugged, modular instrumentation systems. The PXI standard is governed by the PXI systems Alliance (PXISA) which maintains and controls the evolution of the standard to insure interoperability of instruments from hundreds of vendors.

PXI Express or PXIe is a subset of the PXI standard that replaces PXI’s parallel data bus with a high speed serial interface. PXIe provides the most advantages for modular instruments like digitizers or arbitrary waveform generators which often need to transfer large amounts of data. For example, state-of-the-art PXIe products from Spectrum incorporate a fast interface that can stream at rates of up to 1.7 GB/s.

A Little History

Configuring PXI Systems Using MXI-Express - NI

The Peripheral component Interconnect (PCI) bus was originally designed to be a commercial computer bus. In the late 1990s the CompactPCI (cPCI) bus was created by the PCI Industrial Computers Manufacturers Group (PICMG) by taking the desktop PCI specification and developing an industrial Eurocard-based module for it. This enabled the benefit of the PCI bus while providing a rugged form factor that is suitable for industrial testing applications. The cPCI physical design utilizes a chassis with a passive backplane that includes power supplies and cooling. It features front loading cards with top and bottom support rails that provide extra stability.

While instruments can make use of the cPCI bus they may also require additional functionality in the form of timing, trigger, and synchronization signals. To achieve this PXI joined industrial PC technology from the cPCI specification with integrated synchronization and triggering. The result is a rugged, modular platform with a quantum improvement over older bus structures that has enabled PXI to become the industry standard for measurement and automation applications.

The modular design brings a number of advantages. Firstly, it makes installing PXI or PXIe based instruments easy. In addition, front panel access allows signals to be connected to the modules in an easier way than is the case with traditional computer add-in cards. PXI systems also have cooling fans mounted at the base of their chassis to blow air vertically over the PXI cards, which gives improved temperature ratings. Common to both the PXI and cPCI buses is the use of standardized 3U or 6U card sizes that are typically interconnected via a passive backplane.

PXI and PXIe Hardware

The hardware implementation of PXI/PXIe consists of a chassis, controller or computer interface, and peripheral cards.

Chassis

Cards are housed in a chassis which includes a passive backplane, power sources, cooling and provision for a controller. Hybrid chassis use a passive motherboard which allows them to accept cPCI, PXI or PXIe peripheral cards. Figure 1 shows a typical PXIe hybrid chassis. This eighteen slot chassis is a National Instrument PXIe-1075. Icons at the bottom of the chassis front panel indicate the functions of each of the slots. The left most slot (slot 1) is reserved for the system controller, if used, or remote PXIe controller. Slot 10 is a system timing slot which can be used by a PXIe system timing module or a PXIe peripheral module. Slots 2 through 5 and 15 through 18 are hybrid card slots that can handle hybrid compatible PXI, PXIe or 32 bit cPCI peripheral modules. Slots 6 through 9 and 11 through 14 are dedicated PXIe slots.

The main difference between PXI and cPCI are the addition of timing and synchronization features. There are eight shared trigger bus lines, a differential star trigger (featuring board to board distribution with low timing skew) and a 10MHz system reference clock that can be used for timing synchronization of multiple cards.

The 10 MHz reference clock is strictly defined in the PXI standard to assure a low skew distribution (< 1ns) to all peripherals. The clock can be used for timing synchronization or as a stable edge reference for qualifying trigger events. Most PXI chassis make provision for an external 10 MHz clock input which the internal clock source can phase lock to.

A PXIe chassis also offers a 100 MHz high frequency differential clock called PXIe_CLK100 which is supplied to the system timing and hybrid peripheral slots. The skew for this clock is less than 100ps. If used, the PXIe_CLK100 lines must be terminated on the peripheral. There is also a differential synchronization signal, PXIe_SYNC100. This signal is synchronous to PXIe_CLK100 and asserts one out of every 10 clocks to indicate the phase relationship of the 10 MHz and 100 MHz reference clocks.

The PXI standard defines a trigger bus consisting of eight separate lines. They allow trigger, synchronization, and timing signals to be passed from one module to another module where one module may act as a master passing timing or synchronization to the others that may act as slaves. It’s important to note that the trigger bus has limited bandwidth and it is not recommended for clock frequencies higher than 20 MHz.

The star trigger path is used for applications where a high speed trigger with short delay and minimum skew are required. The star trigger is routed from the star trigger slot (slot 2 in the PXI chassis) using a star topology to each of the remaining cards slots. The line lengths are designed to ensure that the propagation delays are matched to within 1 ps.
Another PXI bus is the local bus. This bus consists of a 13 line daisy chained bus from one slot to the adjacent slots. The bus allows both digital and analog signals to be passed from card to card. This bus supports signal levels to 42 Volts.

The PXIe chassis also must supply power to each slot. Voltages of +3.3, +5, +12 and -12 are available at all slots with current limits appropriate for the slot function.

Pxi Express Hybrid Peripheral Slots

Controller

The PXIe chassis includes provision for a controller. The controller must be located in the leftmost slot (slot1). The controller can be an embedded computer or a link to an external computer or laptop.
Embedded controllers are dedicated computers with all required processors, RAM, hard disk drive, and all related peripherals to assure that the PXI system can run independently. The Embedded controllers most often run Windows as an operating system although other operating systems can be employed. As in all computer systems appropriate driver software must be installed.

See full list on interfacebus.com

Peripheral Cards and Modules

PXIe systems can accept a large variety of PXI, PXIe, or cPCI cards in appropriate chassis slots. The standard specifies two different size modules 3U and 6U. The 3U module uses a card with dimensions of 100 by 160 mm (3.94 by 6.3 inches). The 6U card is 233.35 by 160mm (9.19 by 6.3 inches). The smaller 3U module is the most commonly used configuration. Instruments needing more space are accommodated by stacking multiple 3U cards resulting in modules of greater than one slot width.

Both card types are fitted with locking mechanical ejectors (a single one in the 3U modules and dual ejectors for the larger 6U modules). To further improve the mechanical robustness 3U modules also include retaining screws to lock the module in place.

Generally, the 3U modules are populated with two connectors depending on the family (PXI, PXIe, or cPCI).

Figure 3 shows a high-speed, high-resolution Spectrum M4x.4451-x4 PXIe digitizer. This digitizer uses a 3U card configuration with a 2 slot width
The M4x.44xx-x4 series digitizers offer both high speed and high resolution. The series includes PXIe cards with either two or four synchronous channels. Each channel has its own dedicated ADC which can sample at rates from 130 MS/s up to 500 MS/s and are available with either 14 bit or 16 bit resolution as seeen in the product overview.

The M4x series PXI Express cards use a PCI Express x4 Gen 2 connection. They can be used in every PXI Express (PXIe) slot, as well as in any PXI hybrid slot with Gen 1, Gen 2 or Gen 3. The PCI Express x4 Gen 2 interface offers outstanding data streaming performance. The interface and Spectrum’s optimized drivers enable data transfer rates in excess of 1.7 GB/s so that signals can be acquired, stored and analyzed at the highest speeds.

The M4x.44xx series digitizers use two backplane connectors. The topmost connector handles the PXIe interface which allows the digitizer to stream data at rates up to 1.7 GB/s. The lower connector contains the PXI specific signals like the local and trigger buses and the timing reference signals. Spectrum digitizers currently can use the PXI trigger bus or the Star trigger. They do not currently support Local bus connections.

The front panel contains the connectors for the input channels, trigger, clock, and digital I/O signals. The module ejector is located at the bottom of the front panel. Because this is a two slot wide peripheral there are two retaining screws on the top of the front panel.

Software

The PXI/PXIe standard also stipulates the software as well as the hardware. In general, it specifies the number of Windows operating systems that must be supported. Other operating systems such as Linux can also be used. The key factors in the selection of an operating system is that it can connect to the PXI bus and that there are suitable drivers available.

Modules can be controlled in either of two ways in the PXI system, this can be message or register based. Register based communications is the most common method. In register based control the controller accesses the registers within the modules which control their actions. The message based communication, as the name implies, controls and reads data from the peripherals by exchanging text based messages. Messages have a well-defined format and range of arguments. Message based control is more typical of standalone instruments but there are some PXI modules which use this method.
Instrument drivers simplify the communication and control of PXI/PXIe peripherals. An instrument driver is a type of computer software that allows interaction with hardware devices. It constitutes an interface for communications between the operating system and application specific software. It allows the transmission of commands and/or the reception of data. The main reason for using a driver is that it frees users from worrying about the low-level details of device control.

The PXI/PXIe standard relies on VISA drivers. VISA is the Virtual Instrument Software Architecture, a standard managed by the IVI Foundation (http://www.ivifoundation.org). VISA defines a software layer that allows users to control instruments without needing to understand the workings of the interface bus being used. It provides a way of writing instrument drivers using a consistent approach. This means that, even when dealing with instruments from different manufacturers in the same chassis, interoperability becomes far easier.

IVI, or Interchangeable Virtual Instrument is a driver technology that provides a standard application programming interface (API) for communications with instruments. As it builds on top of VISA this allows users to potentially interchange instruments without changing their source code. The IVI Foundation also manages the IVI specification.

Instrument drivers are essential if users wish to write their own programs with commonly used programming languages. In the case of the Spectrum M4x.44xx-x4 series digitizers both Windows and Linux operating systems are supported (32 bit and 64 bit versions). Programs can be created in a variety of languages including Visual C++, Borland C++ Builder, LabWindows/CVI, LabVIEW, Borland Delphi, Visual Basic, VB.NET, C#, J#, Python and IVI. Support for Linux per-compiled kernel modules are included for the most common Linux distributions like RedHat, Fedora, Suse, Ubuntu LTS or Debian.
Controlling a multi-peripheral system requires system integration software such as LabVIEW, LabWindows/CVI, or MATLAB. These programs, with suitable drivers, offer support for multiple modular instruments operating as a system. They are capable of controlling such a system as well as gathering, measuring, and analyzing measurement data.

LabVIEW Example

LabVIEW, from National Instruments, is the most common graphical programming language for measurement applications and is very well supported by digitizer hardware by means of a dedicated LabVIEW driver. The driver combines different digitizer functions into functional blocks and makes them available within LabVIEW. The LabVIEW driver package consists of several different libraries and some open example virtual instruments (VI’s) showing the use of the driver. Besides these libraries all driver functions can also be directly called.

Figure 4 shows an example that gives you the chance to use the analog channels of the digitizer card as a simple oscilloscope. It shows the virtual front panel of an oscilloscope that allows single acquisition or multiple acquisitions of data on up to four channels.

All clock settings, trigger modes, sources and all the input channel settings can be setup and changed via the interface. The example works for all acquisition cards with up to 4 channels, independent of the analog resolution and the maximum sampling speed of the digitizer.

All examples are delivered with open and editable diagrams allowing the programmer to use it as a base for their own programming or as an example to better understand how the LabVIEW driver works.
The user interface was created with the intent to allow a fast start up with basic functions and provide a useful tool for LabVIEW users using a digitizer for the first time.

Device Specific Software

Peripheral instrument suppliers also offer instrument specific control and analysis software for their modules. Spectrum offers SBench 6, an easy to use graphical operating software for Spectrum modules such as digitizers and arbitrary waveform generators. SBench 6 is a valuable tool for checking the peripheral cards performance and assisting with the unit’s initial setup. A base version of SBench 6 is supplied with the unit making it is possible to test the card, display acquired data and make some basic measurements. The professional version of SBench 6 adds advanced measurement functions, such as filtering, averaging, FFTs and X/Y display, archiving functions like import and export utilities as well as support for all acquisition modes including data streaming.

Figure 5 provides an example of the SBench6 user interface and a typical measurement. In this example an ultrasound pulse has been captured and digitized. A number of measurements, including maximum value, frequency, minimum value, and peak to peak have been made on the acquired pulse. A Fast Fourier Transform (FFT) has also been performed.

Conclusion

Modular PXIe instruments like the M4x.4451-x4 digitizer are rugged instruments meant for industrial environments. The PXI standard guarantees inter-operability with other PXI, PXIe, or cPCI instruments and peripheral modules enabling the creation of multi-module test systems. Modules communicate via high speed internal connections for concise triggering and complex interactions. With their high speed communication, fast data transfer and access to powerful processing technology PXIe systems can be used to greatly improve measurement speed and productivity in most automated testing environments. Furthermore, standardized instrument drivers and software tools make it possible for rapid system configuration and easy customization.

See Full List On Interfacebus.com

Links

All Hybrid Chassis - NI Community

  • PXIe products: M4x.44xx high resolution fast Digitizer
  • PXIe products: M4x.22xx high speed Digitizer
  • PXIe products: M4x.66xx high speed arbitrary waveform generator