02-09-2012 09:28 AM
No you posted pictures of your code. I can not fix pictures.
02-09-2012 11:15 AM
Here is my VI thats written in labview 7. There are additional sub VI thats not attached so the VI might show an error.
02-09-2012 11:20 AM
The inner small while loops is what im trying to update very second. When a button is pressed it sends that Individual string then jump back in to updating every second.
02-09-2012 11:41 AM - edited 02-09-2012 11:42 AM
Why don't you use an event structure with the timeout event set to 1 second?Then, instead of the separate case statements, each would be a separate event.
You can also eliminate all of the writes to the value property node.
edit - your while loop iterates every msec - not every second as you stated.
02-09-2012 11:59 AM
So do i put the event structure inside of bigger while loop and keep the smaller while loop ? Sorry trying to figure out how to code what your sayin. I understand about putting the cluster buttons inside of its own event case.
02-09-2012 12:14 PM
An event structure goes inside a single while loop. There is no 'smaller' while loop. The code that you want to execute every second goes into the timeout event.
02-09-2012 02:13 PM
Thanks for your help that seem to work correctly!