|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#20
|
||||
|
||||
|
Re: switching between Teleoperated enabled and Wathcdog notfed
The key here is to understand that both the wait task and the other code in the .vi run in parallel.
If your code took 5 ms to run, and you put a 5 ms wait timer in, absolutely nothing regarding program timing would change. The actual code would finish running just as the wait timer expired and would start running the loop again. If your code takes longer than 5 ms to run, say 7 ms, then your code would finish and start over again. The "wait" function does not mean finish the code then wait. It means to wait 5ms before asking that code to run again - from the time you last asked it to start running. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem Switching Between Modes | Powerhawks Team 1111 | frenchie4111 | Programming | 4 | 19-01-2010 08:44 |
| Autonomous and Teleoperated | Technic-R-C | General Forum | 8 | 15-02-2009 16:04 |
| Switching between Autonomous and Teleoperated | Technic-R-C | National Instruments LabVIEW and Data Acquisition | 3 | 07-02-2009 08:55 |
| Autonomous and Teleoperated | Technic-R-C | NI LabVIEW | 2 | 06-02-2009 22:19 |
| Switching between Hybrid and User-Controlled | Zyklon | Programming | 3 | 13-02-2008 08:30 |