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

Document Type: Example Program
NI Supported: Yes
Publish Date: Nov 16, 2007


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Digital Events Recorder in LabVIEW FPGA

3 ratings | 5.00 out of 5
Print

Downloads

Filename: eventrecorder.zip
Requirements: View

Filename: eventsrecorder.llb
Requirements: View

This example shows two variations on a sequence of events recorder implemented in LabVIEW with an FPGA VI and a Windows or Real-Time host VI. The events recorder monitors a number of digital input lines and detects any changes (events) on these lines. Rather than recording all lines at a specific interval, only the changes are timestamped and recorded, reducing the overall data volume that needs to be processed and recorded.

The state changed detection is implemented using the LabVIEW FPGA Module to design and run an FPGA VI on a reconfigurable I/O device. When a change is detected the line number, new state, and timestamp are written to a local buffer in memory on the FPGA. Separate code on the FPGA communicates with the host VI to transfer the buffered data back to the host, where the data can be processed and permanently stored. The timestamps are accurate to one microsecond, providing very detailed sequence information for multiple events. The data transfer to the host computer can be controlled and synchronized using interrupts or polling. Both methods are shown in different examples.

Requirements


Filename: eventrecorder.zip

Software Requirements


Application Software: LabVIEW Full Development System 8.0
Toolkits and Add-Ons: LabVIEW FPGA Module 8.0
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Reconfigurable I/O (RIO)
Hardware Model: PXI-7831R, PCI-7831R
Driver: NI-RIO 1.3

 
Filename: eventsrecorder.llb

Software Requirements


Application Software: LabVIEW Full Development System 7.0
Toolkits and Add-Ons: LabVIEW FPGA Module 1.0

Hardware Requirements


Hardware Group: Reconfigurable I/O (RIO)
Hardware Model: PXI-7831R
Driver: NI-RIO 1.0, NI-VISA 3.0

 
3 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/).