Go to Post We love both AndyMark and Vex for everything they do. The work these folks put into their products is amazing. - marshall [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2016, 20:06
eneubec1 eneubec1 is offline
Registered User
FRC #5090 (Torque-Nados)
Team Role: Coach
 
Join Date: Nov 2013
Rookie Year: 2014
Location: michigan
Posts: 37
eneubec1 is an unknown quantity at this point
Why is Mode light RED?

We are having issues with downloading code to our RRIO. We have verifed the RRIO image is correct, and the PDP firmware has also been updated. On this robot we have a PDP from 2015 robot.
When we deploy code, it seems to deploy correctly, but the MODE light is RED. We do have robot communications, and robot code is running.
We did select "run as startup" before we deployed the code.

We are perplexed and looking for some guidance.

Thank
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2016, 21:12
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,695
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Why is Mode light RED?

Do you have "Test" selected on the Driver Station (where you can pick Teleop, Autonomous, etc. modes)?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2016, 22:25
eneubec1 eneubec1 is offline
Registered User
FRC #5090 (Torque-Nados)
Team Role: Coach
 
Join Date: Nov 2013
Rookie Year: 2014
Location: michigan
Posts: 37
eneubec1 is an unknown quantity at this point
Re: Why is Mode light RED?

I'll check tomorrow. I don't recall seeing that on the driver station, but now see it on the dasboard. What does Test mode do if we are using Labview? would it disable any of the motor controls?

This page seems to indicate test mode is applicable to Java
http://wpilib.screenstepslive.com/s/...ode-livewindow
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2016, 22:42
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,695
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Why is Mode light RED?

Test mode bypasses your normal code control and turns the mode light on the roboRIO red.
It is for running separate independent tests.
Look for the Test.vi under Team Code in the LabVIEW project explorer window. You can add your own specialized tests in there and it has an example to get you started.

Your user control code is only going to work while the robot is in Teleop mode (or Practice mode during it's 135 second Teleop -by default).
Driver controls also don't work in Autonomous mode.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-02-2016 at 23:28.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2016, 07:14
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Why is Mode light RED?

Just to add. Initiatively, test has the motors disabled and lets you hand-manipulate sensors and switches and view their values. The enable button also works, and at that point your periodic tasks code, if you have any, is running, and you can independently set actuator values.

So you can have test VIs that then drive an output and read sensors to verify operation of a mechanism. This can be quite useful after a repair.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 03-02-2016, 17:18
eneubec1 eneubec1 is offline
Registered User
FRC #5090 (Torque-Nados)
Team Role: Coach
 
Join Date: Nov 2013
Rookie Year: 2014
Location: michigan
Posts: 37
eneubec1 is an unknown quantity at this point
Re: Why is Mode light RED?

Thanks for the explanation. Test mode was active and now we have a robot that moves

Thanks
Reply With Quote
Reply


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


All times are GMT -5. The time now is 09:26.

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