Brian,
Sorry to mislead, but I am calling DIG_Block_PG_Config (Dev, Grp, 1, 1, 0, 0, 0) - so I am using Pattern Generation mode. The Req line clock is supplied from a fixed square wave at 314KHz.
I get data loss (old data being resent) with oldDataStop=1.
with oldDataStop=0 I get no spurious errors and as long an NT schedules everything OK, I get a few periods of data loss - aprox 3x10Kword half-buffers in 5minutes.
Also setting oldDataStop=1 increases the CPU usage by 50%, ie with oldDataStop=0 my application runs at about 15% CPU, but with oldDataStop=1 my application runs at 75% CPU!
So, I am running with oldDataStop=0 for lower CPU usage & no spurious errors.
What I think I need is to be able to pre-load the DIO with the next data I have rea
dy and for the driver to use its interrupt to move the next half-buffer when it has sent the previous half buffer, ie I can always provide the next buffer before the DIO is ready 99% of the time.
Occationally, I do get a data underflow situation where I have not got data available, when I need to ensure that the DIO cards sends the two half-buffers it has got and then to stop sending until I have data available.
Thanks,
Aaron