Go to Post Mind you, the Q&A forum and competition officials DO take precedence over my opinion. - dtengineering [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
  #16   Spotlight this post!  
Unread 28-03-2010, 11:44
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Getting the battery voltage

OK, found the root cause of our issue. The "Diagnostics" tab on the drivers station is what pointed us in the right direction.

It turns out that one of our new programmers, a true genius but not experienced at programing, had placed a call to AI8 in the begin.vi that no one knew about. We are not using his portion of the code, so it was deleted and now we have a voltage displayed on the drivers station!!
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #17   Spotlight this post!  
Unread 28-03-2010, 15:58
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,112
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: Getting the battery voltage

Quote:
Originally Posted by billbo911 View Post
The ONLY thing we changed between when it worked and when it didn't was the curio firmware and the DS software.
Quote:
Originally Posted by billbo911 View Post
It turns out that one of our new programmers, a true genius but not experienced at programing, had placed a call to AI8 in the begin.vi that no one knew about.
We see here a reason for people not to get upset when the "experts" are unwilling to accept claims that nothing changed before something broke.

I'm glad you found the problem. I'm especially glad that you found it based on the diagnostic messages provided by the system.
Reply With Quote
  #18   Spotlight this post!  
Unread 29-03-2010, 00:56
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Getting the battery voltage

Quote:
Originally Posted by Alan Anderson View Post
We see here a reason for people not to get upset when the "experts" are unwilling to accept claims that nothing changed before something broke.

I'm glad you found the problem. I'm especially glad that you found it based on the diagnostic messages provided by the system.
Thanks Alan!

We were tearing our hair out, wait, no, I have no hair, over this one. We had swapped out the AI module, the breakout board and the jumper with no success. We were at a loss. The I remembered seeing the diagnostics tab. "What the heck" I thought, "lets see if it says anything helpful". Duhhhhhh, error on analog input, resource already in use. "Oh man, let's look at the code again". And there it was.

It's funny, I have made a living for the last 28 years troubleshooting systems. I have found that error messages are not always helpful, but sometimes they are. I have found that familiarity with the system is your best tool. I must say though, this error message definitely was helpful.

Add this one to the lesson book.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #19   Spotlight this post!  
Unread 29-03-2010, 02:20
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: Getting the battery voltage

Quote:
Originally Posted by Joe Hershberger View Post
Any chance your code is now opening channel 8 on its own? This will cause a resource in use error.
Quote:
Originally Posted by billbo911 View Post
It turns out that one of our new programmers, a true genius but not experienced at programing, had placed a call to AI8 in the begin.vi that no one knew about. We are not using his portion of the code, so it was deleted and now we have a voltage displayed on the drivers station!!
Hmmmmm...
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
Battery voltage Yuan Xue Lim Electrical 7 04-02-2009 23:10
paper: Reading the FTC Battery Voltage PhilBot Extra Discussion 4 16-01-2009 08:46
[FTC]: Reading the 12V Battery voltage in LabVIEW PhilBot FIRST Tech Challenge 7 12-01-2009 21:13
The 8.2 (or 8.3) Battery Voltage Bug eugenebrooks Programming 167 21-02-2008 20:05
Battery Voltage Neal Probert Programming 3 09-01-2003 10:18


All times are GMT -5. The time now is 04:34.

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