I need for my DAC and ADC software buffers to line up with each other in analog time.
I'm using the following code to start the DAC and ADC conversions:
status = WFM_Group_Control (deviceNumber, group, START);
if (status==0)
status = SCAN_Start (deviceNumber, (short *)ADCbinArray, total_samples*SENSOR_CHANNELS, sampTimebase, sampInterval, scanTimebase, scanInterval);
But I end up with a 70-75 millisecond delay between the DAC start and the ADC start. I need synchronization to at least a few hundred microseconds between the DAC and ADC buffers.