|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
Re: Intra-Loop Timing Advice
The LabVIEW Forums are a good place.
I like using Queues to control my sub-loops. Queues are FIFO arrays; I enqueue a command from teleop or autonomous and dequeue from the loop that handles the commands. If you don't specify a timeout, the dequeue vi will wait until a command gets enqueued, effectively pausing the loop until it's needed. As a bonus, if the loop takes a long time to finish an iteration, other commands will still be added to the queue and processed in the order they were added. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Timing functions | grosh | NI LabVIEW | 6 | 15-02-2010 14:20 |
| Timing belts | kajeevan | General Forum | 6 | 13-08-2008 13:59 |
| timing of re-contact | Gary Dillard | Rules/Strategy | 16 | 19-01-2008 14:09 |
| Timing Codes | Ryan Cumings | Programming | 11 | 29-01-2004 22:26 |