Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: May 29, 2008

High-Speed Digital Real-time Hardware Compare

1 ratings | 5.00 out of 5
Print

Downloads

Filename: hw_compare_example_lv70.vi
Requirements: View

The NI-HSDIO driver software version 1.4 and later adds new digital ATE features to the NI 6552 and NI 6551 digital waveform generator/analyzers. One of these new features, real-time hardware comparison, allows you to compare acquired response data with some known expected response. The data comparison, which historically had to be performed in software after the acquisition, now occurs on-the-fly in the digital board's FPGA on a per-sample basis.

This LabVIEW example illustrates how to configure the generation and acquisition session of the digital board. Both sessions must be active since the board must generate and acquire data on a per-clock cycle (i.e. per-sample) basis. The logic-states in the waveform dictate whether the board generates data or acquires and compares data. A 0 or 1 command the board to generate a logic-low or logic-high while a H, L, or X indicate that the board must acquire and compare the data on that clock cycle.

The example programmatically generates a waveform to be output on 10 channels and places random errors into the expected response. The waveform is then acquired into the other 10 channels where it is automatically compared with the expected response. Once the generation is complete, the data surrounding each error is fetched based on the sample number(s) that contained an error.


Related Links:
NI High-Speed Digital ATE and Stimulus Response Features White Paper
NI-HSDIO Driver Software Download

Requirements


Filename: hw_compare_example_lv70.vi

Software Requirements


Application Software: LabVIEW Base Development System 7.0
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Digital I/O (DIO)
Hardware Model: PXI-6552, PXI-6551
Driver: NI-HSDIO 1.4

 
1 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).