|
|
The LXI (LAN eXtensions for Instrumentation) Standard for Test and Measurement, the LAN-based successor to GPIB, combines the advantages of Ethernet with the simplicity and familiarity of GPIB.
Introduced in 2005, the LXI Standard has been rapidly adopted by a growing list of test and measurement companies as a logical replacement for the General Purpose Interface Bus (GPIB) to make it easier for test system designers and integrators to create faster, more efficient systems. As the LXI Consortium’s website (www.lxistandard.org) makes clear, LXI reduces the time needed to set up, configure and debug test systems, providing a variety of distinct advantages over GPIB-based systems:
- The speed, simplicity, worldwide reach, low cost, ongoing enhancement and backward compatibility of LAN.
- Quick, easy configuration through the intuitive web interface built into compliant instruments.
- Simplified programming and greater software reuse through IVI drivers.
- The ability to create hybrid systems that include LXI, GPIB, VXI, PXI, CANbus, etc.
- Enhanced system performance and event handling via hardware- and LAN-based triggering modes.
- Synchronization of local and remote instruments through the IEEE 1588 precision time protocol.
|
LXI and scripting |
The current LXI standards for instrumentation do not require that instruments be programmable or implement scripting. However, several features in the LXI specification anticipate programmable instruments and provide useful functionality that enhances scripting’s capabilities on LXI conformant instruments..
The LXI specification requires Class A and B instruments to support peer-to- peer messaging via LAN messages, and it permits Class C instruments to support it. LAN messages can be used to notify other LXI instruments of events or to trigger another instrument to perform some function. Users must be able to specify what action is performed upon receipt of a LAN message. The most flexible way to implement this, and the way recommended by the LXI specification, is to allow the user to download executable code (i.e., a script or program) into the instrument, which is then executed upon receipt of the appropriate LAN message. This provides a great deal of flexibility because the user is not constrained to a predefined set of actions.
Furthermore, the LAN message format defined by LXI includes a small space for including arbitrary data as part of the message. It is feasible to transfer executable code, such as a short script, as part of the LAN message. This would allow one instrument to control another via LAN messages without pre-programming the response. For example, suppose an instrument performs a measurement on a device under test (DUT). Based on the result of that measurement, it must change a stimulus applied to the DUT by another instrument. The new stimulus value is calculated based on the first measurement, so it not known in advance. In this case, the first instrument could send a LAN message containing a short script to the second instrument to adjust the stimulus value. |
To learn more about LXI, explore these resources: |
|
|
|
|
|