Hi,
I have a data acquisition program which reads a large number of variables (temperature, magnetic field, voltage 1, voltage 2 etc.).
I want to be able to create several different XY plots using any combination of them, while my data acquisition program is running. To this end I have a reentrant VI "graph panel.vi" with the graph on its front panel.
There is then an array of VI refnums (paired with the appropriate XY axis labels), which I can add to using open vi reference each time I want to create a new graph.
These are updated during the program cycle (by passing the entire 2*N array of values each time respectively) using "Call by reference node" once for each active graph.
The problem is that if the update happens when I am zooming or scrolling the graph, I lose mouse focus, which is rather annoying. Is there a way to avoid this?
Also, if the program is stopped, the open clone front panels can no longer be written to if I restart. This is not a big problem, but is it possible for the vi refnums to be persistent?
Cheers,
Alex