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

Clear what one has written to a DAQ between subsequent calls to WriteMultiSample(bool autoStart, double[,] data) function?

$
0
0

Hello,

 

I would like to have my application call the WriteMultiSample(bool autoStart, double[,] data) function whenever the user changes a parameter on the UI that influences how the sample sequence to be delivered out of the analog output is generated. The problem is that this function may end up getting called multiple times without starting it's associated task which inevitably leads to DAQ exceptions being thrown. In between subsequent calls to WriteMultiSample(), I would like to clear what was written to the DAQ device. Is this possible?


Viewing all articles
Browse latest Browse all 1999

Trending Articles



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