Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

AnalogReadCallback no longer called in c# voltage acquisition application with reference trigger

$
0
0

Hello

I'm writting a c# application using the DAQmx driver to do battery voltage measurements under different loads and load timespans. For that purpose I use a NI USB-6501 to control a testboard with the batterys and loads and a NI USB-6215 to acquire the voltage values previously to the loading and during the loading.

The acquiring is triggered by a reference trigger on the rising edge of the load control signal and the amount of samples is set such to acquire some single samples in previously to the trigger and during the whole load timespan.

The acquisition is mostly implemented according to the given example "AcqVoltageSamples_IntClkDigRef" and "ContAcqVoltageSamples_IntClk" with an AnalogReadCallback.

 

For some cycles (load and recovery) this works fine. But when I repeat them in the dimension of thousands suddenly the Analog Callback function is no longer called.

 

Is there a possibility to check the state of the task e.g. if it has aborted or do you now other possible problems concerning the callback.

 

Thanks in advance and best regards


Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>