LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

high-speed DAQ and saving

Hello!
I am upgrading a LabVIEW program to acquire data and save it and display it as fast as possible. Up to now the program saved the data in memory until you stop the program, when it saved it to disk, but this consume a lot of memory, so I am trying to save the data to disk meanwhile I am acquiring and displaying it. I was thinking of creating two extra threads to save the data to disk and to display it, but I am not too confident with LabVIEW, so I was thinking of creating a DLL in Visual C++ and use it in my program.
Can I get some advice in how I could acquire data continuously and save it and display it on the fly? Is there any VI or example that deals with that? Should I do it all in LabVIEW or use DLL's?
Thank you very much!
flope
zmo.
0 Kudos
Message 1 of 3
(2,772 Views)
There is an example that comes with LabVIEW that does what I think you are asking for. It is called the High Speed Data Logger. It is found under Help >> Examples >> I/O Interfaces >> Data Acquisition >> Data Loggers. You will have to place a Chart on the Front Panel and then, on the block diagram, wire the 2D Array output of "AI Read" to this chart's terminal.

This VI saves the data in binary format (it's the fastest) so you will need the "High Speed Data Reader" to convert the data back to decimal.

Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect

0 Kudos
Message 2 of 3
(2,772 Views)
You can do it with LabVIEW and save continuously as your program runs in a text format or database. These are the two that I've tried. What format do you want?
0 Kudos
Message 3 of 3
(2,772 Views)