05-23-2008 03:59 PM - edited 05-23-2008 04:04 PM
05-23-2008 04:02 PM
05-23-2008 04:21 PM
05-23-2008 04:29 PM
05-23-2008 04:32 PM
05-23-2008 04:34 PM
Ruslan,
From looking at your block diagram, it looks like you have all your controls outside any kind of program control. Labview needs to be speicficaly told when data will be modified or it will choose randomly what happens first, second, etc. Right now your code will happen in a random order, and will only read whatever value was there when you pressed the Run Button. When Labview gets to the Event Structure, it will wait for an Event Case to be triggered, process the Event, then the program will stop (regardless of what Event was triggered). My suggestion would be to place a While Loop down, put the Event Structure in the While Loop and wire the Timeout Terminal to some value (in miliseconds), then put all your other code in the Timeout case of the Event Structure. This will keep the program running until the While Loop is stopped and will read/update all controls/displays every time the Event Structure times out waiting for an event.
05-23-2008 04:40 PM
05-23-2008 05:53 PM
05-23-2008 06:18 PM
05-23-2008 06:24 PM