03-31-2006 08:02 AM
03-31-2006 11:22 AM
04-21-2006 10:57 AM
Hi Shaun,
I've been having a look at your encoder code and it looks OK to me. The clock needs to be generated as the counters don't have their own internal clocks, so for buffered acquisition the clock is required to synch when to put samples into the buffer.
When you say you are seeing gobbledegook as your result, what exactly are you seeing? If you're seeing a large static value, it could mean that the counter has overrun or is even running backwards.
Which inputs are you connecting your signals into?
Best wishes,
Mark
Applications Engineer
National Instruments
10-06-2007 04:40 PM
Just to close the thread on this...I downloaded the code above and ran it and it worked perfectly without any modifications.
Thanks!