Rock4 Posted May 15, 2010 Report Share Posted May 15, 2010 Hello folks, I started working on a Labview project around this time last year but unfortunately had to shelve it due to unforseen circumstances beyond my control. However I've started back at it again but as you will see, im basically a novice in relation to any kind of programming. I am really keen to learn. I have attached a Vi I wish to use, as maybe one of four Vi's in a Labview project. When I run this Vi and then stop it, I wish for it to return to its default value i.e zero. I have tried some options such as an invoke node which worked for me in another Vi but alas has not worked in this one. Any help in relation to this issue would be much appreciated. Regards, David. pressure monitoring vi.vi Quote Link to comment
francis321 Posted May 15, 2010 Report Share Posted May 15, 2010 (edited) Hi David I suggest you the Select function ( in the comparison palette). If the stop buton become true, it return zero to the indicator (see picture). You add a wait function in the while loop but 3000 ms is really a long time. You should update the loop faster. Just a suggestion. Regards Francis Edited May 15, 2010 by francis321 Quote Link to comment
Rock4 Posted May 16, 2010 Author Report Share Posted May 16, 2010 Hi David I suggest you the Select function ( in the comparison palette). If the stop buton become true, it return zero to the indicator (see picture). You add a wait function in the while loop but 3000 ms is really a long time. You should update the loop faster. Just a suggestion. Regards Francis Hi Francis, Thank you very much for your reply, it is a great help. I have now updated the Vi with your recommendations and it is working as I intended. regards, David. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.