Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView 6.1 array creation

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.

 

 

 

0 Kudos
Message 1 of 3
(3,526 Views)

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.

Message 2 of 3
(3,511 Views)

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.

 

0 Kudos
Message 3 of 3
(3,473 Views)