LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

signals from multiple VIs

I tride your example and the graph no longer graphes anything.  What I was trying to do is have a 4D array and graph it on that.  I wanted the value from the Queue to be the 4th section of the array.  In the attached example I just connect it to a constant of 1.
0 Kudos
Message 11 of 13
(676 Views)
You are actually creating a 2D array in your example, not a 4D. Think of a 2D array like looking at a single spreadsheet page. It has rows and columns of data, but is "flat". A 3D array would be a stack of 2D arrays where you would access the data by page, then by column and row. A 4D array is pages of 3D arrays.

Your example is really doing the same thing mine was. Building an array from 3 single elements and a 1D array to be inserted into a 2D array. I can't tell you why it wasn't graphing anything anymore without seeing the whole thing.

Was there nothing on the graph anymore or just the data from the queue was not being graphed.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 12 of 13
(672 Views)
Do you know whether the graph is supposed to graph real time as the program runs, or at the end when the program is all finished?  What I found was that when running the code that you modified for me, the for loop is drastically slowed down I assume because the other VI that it is getting its Queue from takes so much longer to run.  As the for loop counts through the graph is not updated.  And since it takes so long to get through each for loop cycle, for a very long time the graph just stays empty.  So I have a questions for you:
Can the graph update real time so that as the for loop goes so does the graph?   How do I make it do that?
0 Kudos
Message 13 of 13
(662 Views)