Hello!
I'm trying to make a relay work for a specified amount of time (not necessarily 500ms as in my screenshot). I couldn't find very good relay examples online, but from what I gathered through various forum searches, I determined that in order to make a relay work, you need to run it continuously in something like a while loop.
I did that, but I'm still receiving errors which state that I'm not running my loop fast enough. Any idea how I can get my code to work?
Here's the full error message:
Quote:
ERROR <Code> -44061 occurred at "Left and Right Motors" in the VI path: Robot Main.vi
<time>02:07:27 01/01/1970
FRC: The loop that contains RobotDrive is not running fast enough. This error can occur if the loop contains too much code, or if one or more other loops are starving the RobotDrive loop.
|
Could someone also clarify what this message actually means?
Here's the relay code that causes the problem:
Thanks for your help.