Go to Post I think Dave has been spending time on icanhascheezburger. Either that or the fumes from his rendering machines have affected the grammar control portion of his brain. - rsisk [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 21-02-2010, 19:45
FRCMikeH FRCMikeH is offline
Registered User
None #0612
 
Join Date: Feb 2010
Location: Fairfax
Posts: 2
FRCMikeH is an unknown quantity at this point
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?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 11:08.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi