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.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving a voltage signal from subvi using asynchronous call and wait

Hi to all, 

     Here i was using a asynchronous call and wait function to acquire a voltage signal from daq 6211 in a subvi and main vi will display the results but when i need to control a sampling rate how can i command a signal from main to subvi, here i have attached a vi to analyse here.

ideas are welcome,

Thank you in advance,

regards,

Dinesh

 

Download All
0 Kudos
Message 1 of 2
(2,797 Views)

Hello dineshmeena,

 

for transfering data a queue can be used. If you want to change the sample rate the taks must be stopped and fresh configured and started. What you can do is to set the highest sample rate for the acquisiton and make a resampling, if you want to get less data. In your example a finite acquisition is in use.

best regards
Alexander
0 Kudos
Message 2 of 2
(2,727 Views)