So, I delving into the same type of application, and I think hitting
yet another flavor of problem. Just to set the stage, my app:
- is a realtime processing/display app
- data is received continuosly by the top vi
- the user requests a plot window from the top vi, and the top vi launches a template plotting vi
- the user can request another plot window, and the top vi will
launch the template plotting vi again, thus creating a new instance of
the plotting vi
- as an aside, I use the vi server to launch the plotting vi. But
I also give the plotting vi a specific (unique) name ("plot window n",
where n varies with each instance). And, I pass this name to the
plotting vi so that I can reference itself to get the front panel size
so that I can scale the graph by the size of the front panel (without
scaling ALL controls on the front panel). Maybe this helps with the
problems you're running into...
So, with that as the backdrop, here is the problem I'm having:
- the multiple instances of the plotting vi are launching and acting fine, until I go to kill them...
- I would prefer to just kill the window (instead of having a front panel button to stop/kill).
- when I kill the window, I get a Labview pop up asking if I want
to save the vi to disk. I suspect that this is because I changed the
name of the template vi by forcing my own unique name to each instance.
Anyone have any ideas how I might gracefully avoid the pop up, and instead just kill the plotting vi window?
Also, (I don't have App Builder at the moment) I wonder what would happen if I were to build this into an exe?
Thanks, in advance...