LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pop-up charts

I am trying to put together a VI which has a button to create a new
plot. That plot should pop-up as another VI and be fed data by the
caller VI. I do this by using Open VI Reference, and then calling by
that reference to update the plot.

I store the references in an array, because I really want the user
to be able to create arbitrarily many plots and I will feed them
various bits of data as the user wants. Problem is, if I try to
Open VI Reference the same VI again, I get exactly the same window
popping up as before... that is I can only have one plot going at once.

I'm not sure about how to go about fixing this aside from just copying
the vi to multiple names and putting some really ugly case statements
in my program so that the first p
lot is "plot1.vi", the seconds is
"plot2.vi"... etc.

Is there another approach to this?

Andrew Berkley
Physics Department
University of Maryland
0 Kudos
Message 1 of 2
(5,325 Views)
....
> I'm not sure about how to go about fixing this aside from just copying
> the vi to multiple names and putting some really ugly case statements
> in my program so that the first plot is "plot1.vi", the seconds is
> "plot2.vi"... etc.
>

This is the best workaround that I know of. It isn't possible to
have multiple panels for a single VI yet.

Greg McKaskle
0 Kudos
Message 2 of 2
(5,325 Views)