Go to Post I thanked the tradesmen on our team the same way i do ever year with a handshake and a "thanks for helping us guys", - Mike Schroeder [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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-14-2013, 07:14 PM
AutoBotAM AutoBotAM is offline
Registered User
AKA: Christian Reese
FRC #2077 (Laser Robotics (Laserbots))
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2010
Location: Wisconsin
Posts: 34
AutoBotAM is an unknown quantity at this point
Can't access cRIO module 2

We have a cRIO module in slot 2 that connects to our digital side car, which connects to our victors. I have simple code that creates a Victor object and sets it to new Victor(2, 2) for slot 2 and channel 2, and just does .set(0.25). Yet nothing happens, and the Victor continues to blink. When we try to run it we get an error that it can't access module 2. Yet when I go into the cRIO imaging tool it is identified and OK. We so far have replaced the module, the sidecar, and the victors, with no avail. My future plan is to replace the battery, and the cable connecting between module and digital sidecar.

Has anyone else had an issue like this? Any fixes/advice?

EDIT: Alright, after a bit of research I found that one must do new Victor(1, 2) to access slot 2 on the cRIO. I'll try that next time I'm there, but I also tried new Victor(2) with no luck. Isn't that the same thing as new Victor(1, 2)? The only difference from new Victor(2, 2) is that it doesn't complain about there being no module.
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan

Last edited by AutoBotAM : 02-14-2013 at 07:40 PM.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-14-2013, 07:51 PM
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Can't access cRIO module 2

The first slot is "Slot 0", the next is Slot 1, and so on.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-14-2013, 08:18 PM
AutoBotAM AutoBotAM is offline
Registered User
AKA: Christian Reese
FRC #2077 (Laser Robotics (Laserbots))
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2010
Location: Wisconsin
Posts: 34
AutoBotAM is an unknown quantity at this point
Re: Can't access cRIO module 2

Quote:
Originally Posted by DonRotolo View Post
The first slot is "Slot 0", the next is Slot 1, and so on.
Thank you. Before, I tried just new Victor(2). Should that have worked? Unfortunately it did not when I tried it, the Victor continued blinking. Is there anything else I should check? I'm gonna try replacing the battery and module sidecar cord next meeting.
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan
Reply With Quote
  #4   Spotlight this post!  
Unread 02-15-2013, 09:26 PM
AutoBotAM AutoBotAM is offline
Registered User
AKA: Christian Reese
FRC #2077 (Laser Robotics (Laserbots))
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2010
Location: Wisconsin
Posts: 34
AutoBotAM is an unknown quantity at this point
Re: Can't access cRIO module 2

Problem fixed. The PWM cable was possibly bad. But the real problem was that the digital sidecar wasn't being powered properly.
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan
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 07:50 AM.

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