Go to Post The life-status of an equine animal has never affected the degree of corporal punishment administered on this BBS. - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 26-03-2010, 00:31
Rion Atkinson's Avatar
Rion Atkinson Rion Atkinson is offline
The CAD Guy
no team
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Oklahoma City
Posts: 386
Rion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond repute
No Battery Voltage

I do appologize if this is in the wrong spot, I'm in a kind of hurry. (I have 7 hours until I have to get ready to leave for the Regional again tomorrow) Along for any spelling errors, as I do not have a mouse and have gotten this far using only a keyboard. By the way, the "Forum" doesn't show as a link with "tabbed" to... made things kinda hard.

Anyhoo, onto the good stuff. We have almost completely passed inspection, except for one fault. The Battery Voltage will not show. (It reads 00.0V) I know that the voltage gets all the way to the module on the CRio. Past that I don;t know how to tell. The CRio is indeed getting power, and we are connected. We have switched out the modules, and switch the chips on them (On the off chance on chip was bad and one module was bad.) We then asked the NI rep to help us out. She rechecked everything, and decided that our CRio may be bad. We checked out a spare CRIo from the spare parts. No difference. It's still reading 00.0V She suggested that we uninstall the DS program and reinstall just in case. The programmer is currently doing that, but we wont know if it works until tomorrow.

My question to you is, if this reinstall does not work. What else could be the cause? (We are tethered directly to the robot.)

Thank you for your time,
Rion
__________________
‎‎"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones. -Albert Einstein
Start Something

Email - rionatkinson@gmail.com
Skype - Rion.Atkinson
Reply With Quote
  #2   Spotlight this post!  
Unread 26-03-2010, 00:40
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,016
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: No Battery Voltage

Do you have the analog input connected to 12v from the power distribution board? The voltage display reads an analog input, it does not measure the power that runs the cRio itself.

http://usfirst.org/uploadedFiles/Com...ution_RevA.pdf

And do you have the analog module in the correct position in the cRio?
Reply With Quote
  #3   Spotlight this post!  
Unread 26-03-2010, 00:40
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: No Battery Voltage

Make sure you have the correct version of both the DS (10.02.08.00) and cRIO image (2010_V20).

Also make sure the analog module is properly plugged into slot 1 of the cRIO. The analog breakout should be plugged into the Analog module and powered. Make sure the power LED on the analog module turns on when the robot is powered.

The last thing to check is that the jumper is properly installed on the outside two pins of the 3 pin header on the Analog breakout. Also if you have a different jumper to try, switch it out, I've heard a team or two that had a broken jumper and swapping it out fixed the problem.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #4   Spotlight this post!  
Unread 26-03-2010, 00:41
NickE's Avatar
NickE NickE is offline
_
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: San Jose, CA
Posts: 620
NickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond repute
Re: No Battery Voltage

The battery voltage is read through the analog module.
Analog input number seven must be have a jumper on it in order for the battery voltage to be read.

More info here.
Reply With Quote
  #5   Spotlight this post!  
Unread 26-03-2010, 07:59
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: No Battery Voltage

Also, check your code. Make sure you aren't accidentally trying to use Analog 8, since that is where the battery voltage plugs in to. When I first started using the cRIO I accidentally did this and lost the battery voltage (it read 0.0). It took me a little while to figure out my error.
__________________
-
An ounce of perception is worth a pound of obscure.
Reply With Quote
  #6   Spotlight this post!  
Unread 26-03-2010, 08:36
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,752
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: No Battery Voltage

I saw the same thing in Dallas, and it took awhile to troubleshoot.

To summarize all the good advice you've already received.

Use a MM to verify the voltage at the analog breakout. Verify you have a jumper on the correct two pins. Verify this is in slot 1.

If no luck, swap analog breakouts -- they are the weakest link.
If no luck, swap the module.

If no luck, open Robot Main, open the Start Communication subVI. Scroll to the right and find the place where Get Average Voltage is being read. Probe the value and the error output. See if the value is correct at that point but not getting to the DS properly (never seen this, but worth checking). Verify you aren't getting an error reading the voltage because the channel is reserved elsewhere.

In Dallas, I had to switch things to slot 2 to get it to work. The place you probed in Start Communications has a constant with the slot. Move the analog breakout or module and breakout to slot two. If this works, you need to explain to the inspector that the other slot doesn't work and hopefully they will let it pass.

I didn't have time to look at things more closely in Dallas, but suspect a bent pin or swarf in the connector.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 26-03-2010, 23:57
Rion Atkinson's Avatar
Rion Atkinson Rion Atkinson is offline
The CAD Guy
no team
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Oklahoma City
Posts: 386
Rion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond repute
Re: No Battery Voltage

Thank you everybody for the help! Though.. That was the weirdest thing ever... Eventually the NI lady(Olivia) decided that maybe it was our DS. (Which would make sense because it was one from spare parts to replace our one
with the cracked screen.) So she tried building and deploying from her laptop. She then ran tethered her laptop to the robot. And would you looky there... battery voltage..... So it turns out our DS is corrupted somewhere.... Luckly for us, she let us borrow her laptop the rest of the day.

A HUGE thanks to Olivia and all of the volunteers who helped us through this!
__________________
‎‎"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones. -Albert Einstein
Start Something

Email - rionatkinson@gmail.com
Skype - Rion.Atkinson
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Main Battery Voltage Carter12s NI LabVIEW 8 03-03-2010 17:00
Battery Voltage Monitoring computerish FRC Control System 1 16-02-2009 15:30
Battery voltage Yuan Xue Lim Electrical 7 04-02-2009 23:10
Battery voltage Josh Siegel Programming 5 22-12-2003 10:15
Battery Voltage Neal Probert Programming 3 09-01-2003 10:18


All times are GMT -5. The time now is 06:13.

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