|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
|||
|
|||
|
Re: "Wait" pauses all robot code?
Problem solved.
We implemented a state machine that checked the tick count vi to check the elapsed time. If the time expired we went to the next state otherwise we stayed in the current state. Greg, we tried your advice, but it didn't work. In theory it should have so it could have been our implementation, but I think it was good. We did the following: Put our slow retract piston in a while loop at the top level of robot main. Then we enabled the code using a global variable from the teleop vi. Unfortunately we saw the same problems. Anyway, problem solved. Thanks for your help! As a side note, we built a subvi wrapper for the 'wait' vi to feed the watchdog time because our wait statements were causing watchdog timer errors. Have others had to do this? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Weird issue "No Robot Code" | chdmwu | C/C++ | 4 | 12-02-2011 14:22 |
| "No Robot Code" problem | Deep-Blue | C/C++ | 4 | 14-02-2010 17:57 |
| "No Robot Code" error? plus other issues... | 3195mentor | NI LabVIEW | 3 | 13-02-2010 08:20 |
| G-FORCE's robot, named "philbot" a.k.a "armagedon in a polycarbonate box" | Bryan_2818 | Robot Showcase | 0 | 12-04-2009 20:54 |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |