Example Code

Using Eye Scan with PXIe-6593 and PXIe-6594 High-Speed Serial Devices

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.




  • LabVIEW


  • FlexRIO

Code and Documents



This example demonstrates how to perform an eye scan on the Xilinx GTH transceivers on the PXIe-6593, and the Xilinx GTY transceivers on the PXIe-6594. This can be used to aid in debugging issues with the high-speed serial channels on these devices.


This example is built on top of the PXIe-6593/PXIe-6594 Aurora Streaming examples installed with the FlexRIO driver. The original versions of those examples can be found in the LabVIEW Example Finder.

Hardware and Software Requirements

  • LabVIEW 2020 or newer
  • LabVIEW FPGA 2020 or newer
  • FlexRIO 20.1 or newer
  • PXIe-6593 or PXIe-6594

How to Use

  1. Open the Acquire Eye Scan (Host).vi
  2. Select your device under FPGA Resource
  3. Select the path to the bitfile you want to use
    • A precompiled version of the FPGA VI is included with the example
  4. Select which QSFP port and the lane on that port you would like to run the eye scan on
  5. Adjust the Bit Error Ratio Floor and Step Size as desired
  6. Run the VI

Additional Information

For more information about the PXIe-6593 and PXIe-6594, and the Eye Scan IDL, refer to the FlexRIO Help installed with the FlexRIO driver.

Related Links

An Introduction to NI High-Speed Serial Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.