LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Plot Multi-XY in execution time

Hi. I´m trying to create several Plots depending of the data introduced in
the interface. That is, I want create a GUI that can change dynamically, but
I dont find any control that let me show multiple plots in the same graphic,
and at same time let me create other "instances" of this graphic to plot
another data.

How can I get an interface with a variable number of graphics, pictures o
another element that let me represent multiple plots in each one?

Thanks
0 Kudos
Message 1 of 2
(2,685 Views)
As far as I know, there is no possibility in LabVIEW to create an indicator at run time.
Showing multiple plots on the same graphic is not a big issue, since all the graph objects accept arrays, composed of multiple data sets, as input.
Displaying multiple instances of the same graph is a BIG issue since, as far as I know, there is no possibility in LabVIEW to create an indicator at run time. It could be possible to have the graph on the FP of a dynamically loaded template sub-vi, but I would not recommand that approach.
Instead, your problem can be solved by inserting on the FP as many instances of the graph as required and to hide the unused instances, either making them invisible, or pushing them outside of the window display zone.
Using property
nodes, it is not to difficult to make them appear programmatically at the right place, when needed.
Alternativelly, you could use an array of graphs.
See the attached example...
CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 2
(2,685 Views)