04-24-2015 10:17 AM
That makes perfect sense Dennis. I wasn't clear enough on my application. I need to display this prompt once and then run other testing with other VIs and the display the prompt VI a second time afterwards.
04-24-2015 10:33 AM
04-24-2015 10:51 AM
Back before Global Variables appeared in LabVIEW (meaning at least 15 years ago), LabVIEW coders wrote little VIs, with Error In, Error Out, a Shift Register, an Input, an Output, and sometimes a Boolean (to distinguish Read from Write). The purpose of this VI was to save and recall a particular quantity. It got the name "VI Global" (or VIG), or "Functional Global Variable" (FGV).
Many of us prefer using such VIs to using Global Variables for several reasons. Mine include:
This may be what some earlier posters were suggesting (I'm not sure). Anyway, here is an example. Note that "Choices" is a cluster of 4 integers (similar to your Data 1, Data 2, etc.), but it could be almost anything. Also, the "default behavior" (if the Write input is unwired) is "Read", a "safe" thing to do (as it doesn't overwrite the saved data).
Bob Schor
04-24-2015 11:46 AM
Thanks guys for your help. This works for me.