Windows 10
Framework: .Net 4.8
Visual Studio Professional 2022
Using MC Universal Library, I consumed MccDaq api .
Hardware: USB-24164AO and AI-EXP32
As an experimentation I configured three Analog Input Channel at and A/D rate of 3750S/s and differential, the range is set to 0.078V the type is Voltage and unit is mV.
than I used respectively the following commands.
ScaledWinBufAllocEx,EnableEvent,"channels configuration",AloadQueue ,AInScan,
the callbackFunction generated is uploaded below . I implemented a routine to copy the data from the windows buffer.
This data collection process is interrupted after few minutes by and unhandled exception of type "System.ExecutionEngineException" confer attach.
CallBackFunction.cs