|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Motor declarations break analog module
Why did you choose to set the average bits to 30? By my calculations, you'll get a new value every 4 hours or so (if the FPGA even supports a value that large). A more reasonable value is 10, which will get you updates at about 50hz.
If you actually wanted it to average 30 samples, you should set the average bits to 5, since 2^5 is 32. Last edited by Joe Ross : 12-02-2010 at 23:16. |
|
#2
|
|||
|
|||
|
Re: Motor declarations break analog module
I beleieve the person who put that in thought that 30 bits=30 samples, or she might have just been testing an extreme amount because we were having problems with noise on the input. I have to check with her, though. In any case, the FPGA seems to be limiting it to a more reasonable number since the update rate is at least 10 hz.
|
|
#3
|
|||
|
|||
|
Re: Motor declarations break analog module
And it is fixed!
What happened, we believe, was that the 30-bit averaging, combined with the motor stuff, was using too much FPGA memory and the errors that we were getting were the result of an out-of-memory condition. The system now works after we reduced the averaging bits to 10. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open motor reference on Slot 6 DIO Module | trilogy2826 | NI LabVIEW | 2 | 27-01-2009 08:42 |
| spring break | thatphotochick | Chit-Chat | 6 | 29-03-2006 17:41 |
| Taking apart the motor control module | Adam Y. | FIRST Tech Challenge | 1 | 15-04-2005 14:02 |
| Module 7 gear -- fischer price motor | archiver | 2001 | 6 | 23-06-2002 22:55 |
| DC Motor current to an Analog Input | junkyarddawg | Motors | 43 | 04-04-2002 15:53 |