08-20-2011 11:26 PM
The labview program uses both notifier and queue. When the gen_data button is clicked, the notifier sends out command to the second loop to generate data. After the data is generated, it will be sent to the queue. The third loop wait for the queue and once it received the data, display it.
The problem is that at the first time the gen_data button was pressed, the queue can get the data and update. But it will no long update any data in the future.
Thanks,
JJ
08-21-2011 03:00 AM - edited 08-21-2011 03:05 AM
Your code is highly flawed:
Some ideas:
In the attached quick modification, I made sufficient repairs for the VI to work correctly as described above. Still, the VI is a total mess and needs to be refactored from scratch for a good solution. (There is also a small sequence frame to ensure that the latch action stop button gets reset)