Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

PXI-6624 only writes one sample in pulse mode

$
0
0

Hello all

 

I am trying to write a pulsetrain to the counter output of a PXI-6624, however only the first sample is ever written.

 

My pulsetrain has 50 samples, and with simulated hardware the output "number of samples written per channel" matches that. If I build the application and run the program on the target system it only outputs one sample indefinitely and also "number of samples written per channel" is always 1.

 

I tried adjusting the value for "numSamplesWriten" in "DAQmx Write (Counter 1D Time 1Chan NSamp).vi" to a non-zero value without any influence. The timing is set to 50 samples in continuous sample mode with implicit timing.

 

What am I missing, how do I get the counter to go through the array of samples one by one to output the desired timing series?

 

Thanks in advance,

Raphael


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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