07-09-2014 08:15 AM
Hello,
I need to load a binary file and display it. If I wire output from Read binary file to shift register it will be displayed only after I add next element to an array. How to display an array asap and to be able to add next elements to it?
Thank you
Solved! Go to Solution.
07-09-2014 08:33 AM
Put the database indicator terminal outside of the event structure, before it. That way no matter which event runs, the database data will be displayed at the beginning of the next loop iteration before the event structure starts waiting again.
Also, your VI needs a stop button to have a way to stop the while loop. Right now you can only abort the VI to stop it.
07-09-2014 08:43 AM
Great, thank you. So easy.
A requirement is that user can abort aplication only if he closes window.
07-09-2014 08:47 AM
notazomby wrote:
A requirement is that user can abort aplication only if he closes window.
Then handle the VI->Panel Close event and stop the loop when you get that event. That way you can properly shut down your VI instead of aborting.
07-09-2014 09:48 AM
Thank you.