04-02-2009 03:44 PM
I am using LabView 6.1 to control a scanner and voltmeter to takes measurements.
The hardware is working fine, but I need help with an array issue.
On the lowest level I have a for loop that takes the measurements and I create a 1D array.
Outside of that is a while loop that runs until STOP is true. This is the 2nd dimension of the array.
The logfile I create is working fine. One line per pass through the scanner channels, with timestamps.
The problem is that I want an indicator on the front panel to display the voltages (ideally a graph with multiple lines).
If the array is inside the while loop, I can only display the 1D array.
If the array is outside the while loop, it doesn't display until stopped.
I would like to dynamically display an array that increases in size for every iteration of the while loop.
04-03-2009 03:38 PM
Hi cstarr57,
If you replace your graph with a chart, you should be see the data appended to end of the displayed data. Here is a KnowledgeBase that discribes the difference of a Graph and a Chart.
04-07-2009 03:07 PM
The links to the jpg and vi appear to be broken.
I figured it out based on the text you sent. LabVIEW is easy once you get the hang of it.