06-12-2008 03:56 PM
06-12-2008 03:57 PM
06-12-2008 04:29 PM - edited 06-12-2008 04:30 PM
06-12-2008 04:59 PM - edited 06-12-2008 04:59 PM
06-12-2008 05:14 PM
06-12-2008 05:34 PM
06-12-2008 05:54 PM
smercurio_fc wrote:
What you are seeing is not a race condition.
06-12-2008 05:59 PM - edited 06-12-2008 06:01 PM
06-12-2008 07:48 PM
06-12-2008
08:54 PM
- last edited on
03-19-2026
06:09 PM
by
Content Cleaner
and oh yeah,
adding a before case then wait time didn't do the job.
Message Edited by krispiekream on 06-12-2008 06:01 PM
That's right. You're just making the race condition slightly less likely. You can synchronize the execution of parallel structures in LabVIEW using many tools, most notably the VIs in the Synchronization palette. The easiest to start with are the Occurrences. Once you get a hold of those, check out Queues, Notifiers, and so on. All fun stuff and immensely useful for destroying race conditions.
Par example... The first frame of the case structure waits for the Occurrence to fire, which doesn't happen until the first iteration of the While loop. So the second frame of the case structure is guaranteed not to start before the while loop.
Message Edited by Jarrod S. on 06-12-2008 08:56 PM