Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   WPILib Analog channels 1-2 errors (http://www.chiefdelphi.com/forums/showthread.php?t=72381)

Phoenix Spud 18-01-2009 21:02

WPILib Analog channels 1-2 errors
 
We have found that the GetAccumulatorValue does not work on ports 1 and 2 on the analog side car. When we used it we got a "fatal error.":yikes: Has anyone else found other methods that do not work on these ports?

Thanks

wt200999 18-01-2009 23:47

Re: WPILib Analog channels 1-2 errors
 
Are you using the breakout in slot 1, or whatever the first analog module is plugged in.

Phoenix Spud 19-01-2009 10:26

Re: WPILib Analog channels 1-2 errors
 
Quote:

Are you using the breakout in slot 1, or whatever the first analog module is plugged in.
Yes, We know for a fact that this one (GetAccumulatorValue) method does not work for this plug-in. We were just wondering what other methods will not work on these channels. This way we will not be pulling our hair out again trying to figure out why our code is getting "fatal errors.":ahh: We have checked the WPILib documentation and there is nothing there to help us.

Thanks!!!

EricVanWyk 19-01-2009 10:46

Re: WPILib Analog channels 1-2 errors
 
I recommend posting your code, and to cross post at the usfirst.org forums.

I'll bet a cookie that you are not properly initializing the accumulator. The function therefore errors out because it doesn't have the necessary information.

Phoenix Spud 21-01-2009 12:09

Re: WPILib Analog channels 1-2 errors
 
Quote:

Originally Posted by EricVanWyk (Post 803679)
I recommend posting your code, and to cross post at the usfirst.org forums.

I'll bet a cookie that you are not properly initializing the accumulator. The function therefore errors out because it doesn't have the necessary information.

We knowfor a fact that channels 1 and 2 are the ONLY channels aloud to us the GetAccumulatorValue function. We were just wondering what other functions do not work on these ports. This way we (and other teams) would not have to pull our hair out (agian) trying to figure out why we are getting "fatal errors." Though I think I will cross post on the US FIRST forums!


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

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