LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot data from multiple sources into array of graphs

Solved!
Go to solution

Hello! I am receiving data from 1250 pixels and i want to plot the data from every pixel into a different graph. Every time, i get one word of data and one word for the address of the pixel it comes from, how can i plot these into an array of graphs? (Either 1D array of 1250 graphs or 2D array of 50 rows x 25 columns).

When there were fewer graphs i used a case structure and i would wire the pixel address into the case selector, now what can i do?

Any suggestions would be  helpful, thank you.

0 Kudos
Message 1 of 5
(2,724 Views)
Solution
Accepted by topic author cocopa

Practically speaking its not possible to see 1250 graphs in 1 shot so its not needed to have that much of graphs. Generally what we do in this situation is initialize an array of 1250 elements and replace those elements when you recieve the data in a particular order. At the same time have a Ring control and update the elements name in the same order you are updating in the array. Now pass the array of values to the index array and connect the Ring control to the index terminal and connect the output to the Graph. So when you select an element you will be able to see the value of that particular element.

-----

The best solution is the one you find it by yourself
Message 2 of 5
(2,719 Views)

What on Earth are you going to do with 1250 graphs? If you take only 15 seconds to look at each one, it will take you more than five hours to cycle through all 1250! Heck- even at ten graphs a minute, it will take more than an hour and a half to flip through all 1250! My patience would be gone after the first couple dozen.....  How often will you need to look at each graph?

 

Would a better approach be to create analysis for each of the 1250 pixels to tell you which ones are "interesting" and an interface to display selected graphs? This is a model that factories collecting huge amounts of data every day use to make the best use of their engineering resources.

 

Jeff

Jeffrey Zola
Message 3 of 5
(2,704 Views)

@Jeffrey_Zola wrote:

What on Earth are you going to do with 1250 graphs? If you take only 15 seconds to look at each one, it will take you more than five hours to cycle through all 1250! Heck- even at ten graphs a minute, it will take more than an hour and a half to flip through all 1250! My patience would be gone after the first couple dozen.....  How often will you need to look at each graph?

 

Would a better approach be to create analysis for each of the 1250 pixels to tell you which ones are "interesting" and an interface to display selected graphs? This is a model that factories collecting huge amounts of data every day use to make the best use of their engineering resources.

 

Jeff


Basically you would have to assign 1 dedicated engineer (or unfortunate intern) per number of units tested daily.  So yes, as Jeffrey says, make P/F criteria for the data and flag the failed ones for inspection.  With some time and creativity, you can develop a very sophisticated algorithm.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 4 of 5
(2,695 Views)

Actually, i don't want to view 1250 graphs simultaneously but to be able to view which ever of them i want. So, for the time being, indexing the array to select the graph to view is all i need. The next step will be to develope an algorithm to determine which of them have valuable data.
Thank you all for your help!

Message 5 of 5
(2,691 Views)