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

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

NI-DAQmx: Continuous Analog Input with Selectable Save

3 ratings | 5.00 out of 5
Print

Downloads

Filename: 200028.llb
Requirements: View

This virtual instrument (VI) demonstrates buffered data acquisition (DAQ) using the NI-DAQmx drivers. Data is acquired continuously into a circular buffer while data previously retrieved from the buffer is plotted. This VI also demonstrates how to plot multiple points from multiple channels on a chart and how to stream that data to a spreadsheet. The streaming to disk is controlled by a selectable switch that toggles the save option on or off. While the switch is off, data is still acquired but is not saved to file. The switch can be toggled while data is still being acquired.

You may want to add more functions to customize this VI for your application. A common reason to read data while the acquisition is in progress is to process and display the data in pseudo-real time. The acquisition rate you can achieve depends on how much processing and display the VI must do.

Requirements


Filename: 200028.llb

Software Requirements


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

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Driver: NI-DAQmx 7.5

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