10-06-2012 07:36 PM
I have a honeywell load cell connected to a NI cDAQ-9174. I'm trying to make a labview program that records data for a long period of time (0.5-1.5 hrs). Using the DAQ Assist in labview I can make the load cell output a graph over a few seconds, but how do I design something that records continously for an hour?
I have attached a few images and files of what I am working with. Everything in the DAQ assist box is regarding the loadcell, the rest is for another apparatus.
10-06-2012 07:43 PM
I don't understand where you are having a problem. If you press run, the VI will keep running and outputting data until you hit stop.
One problem your code has is that it only stops on an error. You should wire the stop button to the stop terminal of the while loop.
10-06-2012 07:50 PM
The VI continuously runs and outputs a graph every few seconds, but it doesn't record the data over the entire time I run it (or I just don't know how to access the recording.) If I run this VI, the graph changes every few moments to reflect the change, but if i hit export to excel, it only exports whats in the current frame. I'm trying to have a data set that spans the entire time the VI is running.
10-06-2012 08:05 PM
You are using a waveform graph. That only shows what is input at a given iteration. Perhaps you want a waveform chart which maintains a history of what was written to it before. Of course there is a limit to the history. You can make the history longer, but ultimately there is a memory limit to how much history you can maintain.
10-06-2012 08:07 PM
How would I go about doing that? I apologize I'm new to labview.
10-06-2012 08:15 PM
Put a waveform chart on the front panel instead of a waveform graph.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours