Closed raacampbell closed 1 year ago
This must be a hardware issue. It doesn't really matter why it works with the full code and not this. I bet it's just that the DAQ can not keep up. Would probably work with PCIe.
We can just write at 1E5 and all is good.
The two minimal examples I have made (738fd084b234743489646e9a4e1a545e61f6ee21) both fail randomly when presenting four channels of stimuli at 1E6. It seems that the data can not fit on the DAQ buffer and so have to be transferred from the PC. It has has issues keeping up. At 1E5 there are no problems. This is with both the Vidrio and .NET examples. I have it starting and stopping with a ramp-down >600 times and no failures.
See Issue #62