From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

about buffer size and the number of output samples

Hi all,

  I am configusing the output buffter of 600 size but I am writing only 500 samples to it. When I start the task, will it output 500 samples or all 600 with the last 100 samples undefined?

 

Is it possible that I write 500 samples of value 1.5 to the buffer and write 100 samples of value 3 to the buffter so total 600 samples written to the buffter. But I want separate the output into two phrase. When I start the task, only the first 500 samples outputed and pause the task. Wait about 2 seconds, the task resumed and keep outputing the last 100 task. Is it possible to do that in DAQmx? Thanks.

0 Kudos
Message 1 of 2
(2,181 Views)

Would it be possible for you to share a snippet of your code so that I can better understand how you are configuring your code? Also, which device are you using (since you said you were using DAQmx)?

 

For snippets:

http://www.ni.com/white-paper/9330/en/

 

Regards,

 

Brandon V.

Applications Engineer

National Instruments 

0 Kudos
Message 2 of 2
(2,128 Views)