|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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."
Has anyone else found other methods that do not work on these ports?Thanks |
|
#2
|
||||
|
||||
|
Re: WPILib Analog channels 1-2 errors
Are you using the breakout in slot 1, or whatever the first analog module is plugged in.
Last edited by wt200999 : 19-01-2009 at 00:21. |
|
#3
|
||||
|
||||
|
Re: WPILib Analog channels 1-2 errors
Quote:
We have checked the WPILib documentation and there is nothing there to help us.Thanks!!! |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
Re: WPILib Analog channels 1-2 errors
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!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Analog Input Errors... | Tach'ko | Electrical | 1 | 11-01-2008 11:37 |
| WPILib & Analog/Digitial IO Split on Vex | SomeoneKnows | Programming | 1 | 22-10-2007 00:52 |
| Do Channels Matter? | irishninja | FIRST Tech Challenge | 7 | 10-04-2006 14:54 |
| Switching Channels | Fred Agnir | Control System | 5 | 20-01-2006 20:54 |
| PO Channels | Kyle Fenton | Technical Discussion | 3 | 14-08-2001 12:54 |