sync channel goes to 0
Posted: Thu Nov 24, 2005 2:20 am
We are writing C++ acquisition software for the MK1 and were wondering what causes the sync channel to go to 0?
We are using Speed mode 5 (130 channels 4096 Hz). If we read from the ringbuffer as soon as 4 bytes per channel are ready it seems to work fine. However, if we wait for a sample block of 32 ints (128 bytes) per channel the sync channel becomes 0 after a second or so.
So, with the bigger sample block size, the time between READ_POINTER calls is longer because there are more samples to process; could this cause the system to become out-of-sync?
Thank you in advance for any help.
Sincerely,
-Sam
We are using Speed mode 5 (130 channels 4096 Hz). If we read from the ringbuffer as soon as 4 bytes per channel are ready it seems to work fine. However, if we wait for a sample block of 32 ints (128 bytes) per channel the sync channel becomes 0 after a second or so.
So, with the bigger sample block size, the time between READ_POINTER calls is longer because there are more samples to process; could this cause the system to become out-of-sync?
Thank you in advance for any help.
Sincerely,
-Sam