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.
Question
Alain Compaore
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
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now