Hello,
I am trying to synchronize AI and AO channels using PCI6110. AI and AO channeles have different rates and samples.
1. How can I synchronize them to start simultaneously? I used the start trigger to make them start simultaneously, but there is a delay between them.
2. In reading data part, the rate is 1.024MHz and 4096 samples. I want to display the data on intensity chart, but the problem is that the maximum time scale is 127 while I need 512 or more.(when I cange it to greater than 127 it automatically returns back to 127!). I used intensity graph,(displaying one frame of data = 512lines*4096 points/line), but when I try to acquire data continuously, I get the error :
Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
Increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem.
I realized the problem is because of arrays which I use to convert the acquired data to the format I want to display. But, when I remove all the arrays, I get the error again(but after more iterations). So, How can I display high rate data continuously?
Any help is appreciaed.
Soroush.