Go to Post Some of your terminology is also a little confusing. Nothing that some massaging can't fix. - JVN [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-01-2010, 23:29
rsegrest's Avatar
rsegrest rsegrest is offline
@ least I'm OVER the rock THIS time
FRC #2582 (PantherBots)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Lufkin, TX
Posts: 415
rsegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant future
Exclamation HELP!! No readouts anywhere on dashboard

Classmate Setup:
Driver station has been updated
LabView updated to latest version (using LabView to program)
Classmate recognizes USB and E-Stop button (E-Stop button is plugged in to pc)

Hardware System:
Jaguars (we have two connected) - PWMs are seated correctly but lights are
blinking yellow
Jaguar update has not been run (cannot figure out how)

cRio -Ethernet is active on port one
Status light comes on when cRio first powered but then turns off (is
this normal?)
Ip address set correctly to team number
Running update v.19

Analog - slot 1 - solid green light
Soleniod breakout - slot 8 - solid green light

1 - CIM Motor connected to each Jaguar

Digital Sidecar - solid green lights on 5v and 6v
blinking green light under RSL


Example code is being loaded and run from the Developer account
Load the example code to the cRio it is accepted with no errors
When the example code is run all of the lines are flat even the joystick

HELP we cannot figure out what's going on!!

Could it be that we have not run Jaguar update and if so HOW do we run the update?

When we have the Driver Station (in the driver account) open, the joysticks and E-Stop are recognized. However in the Developer account when we run RobotMain.vi (example code) and move the joysticks the readout line remains flat...

What are we missing?
__________________
Impossible is just a big word for small men who find it easier to live in the world they've been given than to explore the power they have to change it. Impossible is not a fact. It's an opinion. Impossible is not a declaration. It's a dare Impossible is potential. Impossible is temporary. Impossible is nothing.
~ Unknown
  #2   Spotlight this post!  
Unread 26-01-2010, 23:37
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Talking Re: HELP!! No readouts anywhere on dashboard

In order to run your code on the Robot you need to
1:build the code,run as startup then switch to driver.
2:deploy the code from Robot main and open the DS that is in the all programs from the start menu.
  #3   Spotlight this post!  
Unread 26-01-2010, 23:41
rsegrest's Avatar
rsegrest rsegrest is offline
@ least I'm OVER the rock THIS time
FRC #2582 (PantherBots)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Lufkin, TX
Posts: 415
rsegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant future
Re: HELP!! No readouts anywhere on dashboard

Believe that is in fact what the programmer is doing but will double check in the morning to be sure (I know that he is building the code because he get's the run and stop buttons active). If he is following these steps can you think of anything else?
__________________
Impossible is just a big word for small men who find it easier to live in the world they've been given than to explore the power they have to change it. Impossible is not a fact. It's an opinion. Impossible is not a declaration. It's a dare Impossible is potential. Impossible is temporary. Impossible is nothing.
~ Unknown
  #4   Spotlight this post!  
Unread 26-01-2010, 23:59
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Wink Re: HELP!! No readouts anywhere on dashboard

Well first of all deploying the code is pushing the arrow, building is found under build specifications then right click build then run as startup, building the code puts it on the C-rio permanently(or at least till you build another). If he is running the code from robot main by clicking the arrow then he needs to open the DS while main is running to get the code to run on the c-rio.Another thing that could cause this is if he is building the code and not running it as startup.
If you describe the exact steps you are following i can help you more.

Last edited by bladetech932 : 27-01-2010 at 00:04.
  #5   Spotlight this post!  
Unread 27-01-2010, 00:12
plusk01 plusk01 is offline
Registered User
AKA: Parker Lusk
FRC #1742 (Shockwave)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Oklahoma
Posts: 3
plusk01 is an unknown quantity at this point
Re: HELP!! No readouts anywhere on dashboard

Try right-clicking the 'Robot Main' VI in the Project Explorer window and clicking 'Run' to live debug. This should download the code on your computer to the cRIO's memory and it will run as long as that computer is connected to the cRIO and the program is running.

Then on the driver station make sure you're enabled. [F1] to enable; [Space bar] to disable.

Quote:
Could it be that we have not run Jaguar update and if so HOW do we run the update?
I think you're referring to the Jaguar Firmware update. If so, you don't need to worry about it unless you're planning on using a CAN (controller-area network) interface as opposed to PWM cables from the Digital Sidecar.

For more info on CAN, check out http://forums.usfirst.org/showthread.php?t=13579 and http://forums.usfirst.org/showthread.php?t=13440&page=3

Hope this helps!

Parker Lusk
Shockwave Team 1742
  #6   Spotlight this post!  
Unread 27-01-2010, 01:12
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: HELP!! No readouts anywhere on dashboard

Quote:
Originally Posted by bladetech932 View Post
In order to run your code on the Robot you need to
1:build the code,run as startup then switch to driver.
2:deploy the code from Robot main and open the DS that is in the all programs from the start menu.
This is one way to do it, but it's pretty tedious for development. What I do is simply run the driver station application from the start menu and always stay logged in to only the developer account.

--or--

If I'm at the development machine, then the classmate is running the driver station in the driver account and I'm doing all the robot code development on a separate computer.

In both cases, I don't build an application during development. I save that for when I'm happy with the code and I want it to run each time the mechanical guys switch on the robot.

-Joe
  #7   Spotlight this post!  
Unread 27-01-2010, 19:53
rsegrest's Avatar
rsegrest rsegrest is offline
@ least I'm OVER the rock THIS time
FRC #2582 (PantherBots)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Lufkin, TX
Posts: 415
rsegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant future
Re: HELP!! No readouts anywhere on dashboard

Ok tried the steps proposed by BladeTech and here's what we get:

When we run the code and switch to the driver account:
1. Text turns blue when joystick buttons depressed
2. Robot code (right below the team number) turns solid green

However...still blinking yellow lights on jags...

Any ideas?

Thanks,
Robyn
__________________
Impossible is just a big word for small men who find it easier to live in the world they've been given than to explore the power they have to change it. Impossible is not a fact. It's an opinion. Impossible is not a declaration. It's a dare Impossible is potential. Impossible is temporary. Impossible is nothing.
~ Unknown
  #8   Spotlight this post!  
Unread 27-01-2010, 20:12
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: HELP!! No readouts anywhere on dashboard

good, now is there motor running code in the program?
if so check PWMs(the cable and the port on the sidecar),sidecar(try switching to the sidecar on slot six) and printer cable(the cable attaching the sidecar to the C-RIO).

Last edited by bladetech932 : 27-01-2010 at 20:16.
  #9   Spotlight this post!  
Unread 27-01-2010, 20:25
rsegrest's Avatar
rsegrest rsegrest is offline
@ least I'm OVER the rock THIS time
FRC #2582 (PantherBots)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Lufkin, TX
Posts: 415
rsegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant future
Talking Re: HELP!! No readouts anywhere on dashboard

WE HAVE MOTOR RESPONSE!!!!! Our programmer was reading your posts and banging his head against the classmate and motors and I walked to the back room to check on the mechanical when suddenly I heard motors spinning. The programmer said that there were LOTS of things wrong but had to go to tennis lesson before he could explain. He's coming back at 9:00 (CST) so will ask him what it was and post back then.

THANK YOU ALL FOR ALL YOUR HELP AND SUGGESTIONS!!!

What would we do without Delphi?!
__________________
Impossible is just a big word for small men who find it easier to live in the world they've been given than to explore the power they have to change it. Impossible is not a fact. It's an opinion. Impossible is not a declaration. It's a dare Impossible is potential. Impossible is temporary. Impossible is nothing.
~ Unknown
Closed Thread


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
Dashboard-Driver Station Help Please sircedric4 C/C++ 18 21-01-2010 22:50
[Help Needed] Camera to Dashboard basicxman C/C++ 1 19-01-2010 18:20
Dashboard Help C++ Windriver ranc Programming 0 15-01-2010 15:26
Past competition video archives available anywhere? Japper General Forum 2 07-01-2008 12:32


All times are GMT -5. The time now is 15:18.

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