Go to Post Lengthy posts are not discarded ones. Information comes in all sizes - Garii [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 28-01-2012, 19:57
NS_Radication's Avatar
NS_Radication NS_Radication is offline
Student
AKA: Marco Schoener
FRC #1369 (Minotaur)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Tampa
Posts: 88
NS_Radication is an unknown quantity at this point
Loading/Running Code FRC Java (Netbeans) Problem

the most tedious electronics and programming apparatus, yet it is so simple.

For months before the kick off, I could not load code onto the cRIO to make a motor MOVE after reformatting it to Java image (We now have the right Java cRIO update v43).

Recently, a programmer from Team Hydra helped me re-image the Classmate to the new image with Windows 7 Professional. I re-installed NetBeans 7.1 and all the other updates from NI.com for LabVIEW, Utilities, and the Driver Station. He loaded the default code with his laptop and my laptop (I found out that you have to turn the firewall OFF!) and the Jaguar detected the code and we tested the motor, IT MOVED! When that occured, I thought it was set. I kept the electronics the same and tested the DefaultCode in autonomous and it ran for .5 sec instead of 2 sec, in other words, it twitched for a split-second. I was still happy because it still worked (2/3 the time that I went autonomous, it twitched). When the motor refused to move when I attached the same electronics apparatus with the new electronics, still have cRIO I, and the Jaguar does the flashing yellow light again (no code loaded onto it). I tried to make very simple codes to move the motor autonomously with SimpleRobot subclass. I got "RobotDrive ... output not updated enough".

My Classmate settings were (on tether)
IP: 10.13.69.6
Subnet: 255.255.255.0 (But everytime I went back, it changes to 255.0.0.0)

cRIO: 10.13.69.2
Slot 1: 9201 (w/ Analog Bumper, not powered)
Slot 2: 9403 (cabled to sidecar)
Slot 3: 9201 (w/ new Analog Breakout, not powered)
Slot 4: 9472 (w/ Analog Bumper, not powered)
Slot 5: 9403 (not connected)
Slot 6: Empty
Slot 7: Empty
Slot 8: Empty

Battery charged
PWMs in channel 1 and connected correctly

Plus if anyone knows why the AndyMark orange warning light won't flash?

Any help or other hints will be greatly appreciated and if I was unclear about ANYTHING, please feel free to correct me (I may be a veteran, but I am new to programming and electrical section, but a fast learner)!

Thank you in advanced!
__________________
Team 1369
Senior
Head Programmer (Java)
Head Electrician
  #2   Spotlight this post!  
Unread 29-01-2012, 02:55
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Loading/Running Code FRC Java (Netbeans) Problem

Quote:
Originally Posted by NS_Radication View Post
Plus if anyone knows why the AndyMark orange warning light won't flash?
(It's not an AndyMark part. It was provided by Rockwell Automation.)

If the Robot Signal Light isn't coming on at all, check all the connections to your Digital Sidecar. Does it have good 12 volt power? Are all its power LEDs (BATT, +5, +6) lit brightly? Is the cable between the Digital Sidecar and the DIO module in slot 2 of the cRIO solidly plugged in at both ends, and is it verified to be assembled correctly (some of them were built with one of the connectors reversed)?

Last edited by Alan Anderson : 29-01-2012 at 18:15. Reason: fixed broken markup
  #3   Spotlight this post!  
Unread 29-01-2012, 03:47
codes02 codes02 is offline
Randolph aka Roxbury aka R_______
AKA: Cody Schafer
no team (Formerly: Team 11, MORT)
 
Join Date: Oct 2007
Rookie Year: 2008
Location: MA, USA
Posts: 57
codes02 is on a distinguished road
Re: Loading/Running Code FRC Java (Netbeans) Problem

Some were built with the connections reversed and then not pushed fully together when reassembled by the teams (My team is guilty of this).
  #4   Spotlight this post!  
Unread 29-01-2012, 14:15
mikets's Avatar
mikets mikets is online now
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Loading/Running Code FRC Java (Netbeans) Problem

Quote:
Originally Posted by NS_Radication View Post
cRIO: 10.13.69.2
Slot 1: 9201 (w/ Analog Bumper, not powered)
Slot 2: 9403 (cabled to sidecar)
Slot 3: 9201 (w/ new Analog Breakout, not powered)
Slot 4: 9472 (w/ Analog Bumper, not powered)
Slot 5: 9403 (not connected)
Slot 6: Empty
Slot 7: Empty
Slot 8: Empty
Slot 1 and 2 are correct but you should have the Solenoid (9472) module in slot 3 (I hope you didn't really mean to have the Analog Bumper on a Solenoid module). If you really need another Analog and Digital modules, the 2nd Analog (9201) should go to slot 5 and the 2nd Digital (9403) should go to slot 6.
__________________
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


All times are GMT -5. The time now is 19:55.

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