Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

Aquisition of single datapoints an analog inputs

$
0
0

Dear Developer Zone,

 

i am a bit of a newbie when it comes to DAQ, but i am working on a project using the DAQmx C interface. So far i am able

to define voltage buffers and put them through an analog output. I still have a few questions though:

 

1. Is there a way to apply a DC voltage to an analog output other than writing an array full of the target value and using the sampled output?

 

2. I am trying to aquire the voltage on two ports on-demand. Right now, i am using DAQmxReadAnalogF64 for that. This works the first time, but not in subsequent calls. I suspect that this is because of buffered aquisition, so that i am only pulling values from the buffer filled at the first call to that function.

Is there a way to get voltages non-buffered and on-demand from C?

 

Thank you for your time.


Viewing all articles
Browse latest Browse all 2147

Trending Articles



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