12-04-2009 08:14 AM
Hello!
We have a problem with our evaluation board EK-LM3S8962, probably someone has an idea to solve the problem. We sample due Interrupt in the ISR with 1kHz a 32bit integer (analog input) and build up a queue. The main-vi contains dequeueing element function and storing data in a .dat-file on the microSD-card.
The queue can only contain around 1060 32bit integer values. This programm only works for about 1,8 seconds, than the programm failes because the queue has an overflow.
we want to sample four digital inputs with 1kHz (total 126bit data each time) and save the data.
the data acquisition should work for nearly 10 secondes.
I used two different microSD-cards too, but still the same problem.
regards, fh
12-04-2009 10:14 AM
Because you mention 1060 32 bit values, you remind me of this thread: http://forums.ni.com/ni/board/message?board.id=420&thread.id=1744
Perhaps you're seeing the same thing...
I would do two things:
1. If you have any, remove any wait primitives from your main VI.
2. Within your dequeue and write to file loop, you should occasionaly close and open your file reference to flush the file i/o queue.