Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Getting the battery voltage (http://www.chiefdelphi.com/forums/showthread.php?t=84132)

billbo911 28-03-2010 11:44

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!!

Alan Anderson 28-03-2010 15:58

Re: Getting the battery voltage
 
Quote:

Originally Posted by billbo911 (Post 935727)
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 (Post 944077)
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. :cool:

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

billbo911 29-03-2010 00:56

Re: Getting the battery voltage
 
Quote:

Originally Posted by Alan Anderson (Post 944243)
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. :cool:

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.

jhersh 29-03-2010 02:20

Re: Getting the battery voltage
 
Quote:

Originally Posted by Joe Hershberger (Post 943317)
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 (Post 944077)
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...


All times are GMT -5. The time now is 22:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi