LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

updating controls in parallel while loops

Hi I'm new to labview. I am currently developing an application to acquire data from a camera while playing a simulated wave form through my speakers. 

Currently I have the data acquisition configured and working in a while loop and the waveform being outputted in a parallel loop.

I'm trying to cycle trough different frequencies of the wave form as the program runs. I want the waveform loop to update the frequency control every time the data acquisition loop executes. Is this possible?.

 

Any help would be appreciated 

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

Hi emorr,

 

as long as you have data dependencies between your loops they will never run in parallel!

Right now the second loop waits for completion of the first one due to the wire between them.

 

Please go through the beginner lessons to learn more about dataflow programming!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,313 Views)