LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform chart display

Hi all! I'm finishing my project but I've a problem that haven't been able to solve by the moment. The thing is that I have a Waveform chart that displays every 0,5s a value calculated in previous steps. When one of this values reach a certain threshold it calls another VI's that inside an if structure make some operations, one of them is 2s waiting. The problem is that on this 2s there is no information plotted in the chart, this information is displayed after the waiting. I have to get a continuous chart, which means a value every 0,5s, even when the waiting in the if structure is being done. Any idea?

 

 

0 Kudos
Message 1 of 4
(2,459 Views)

Hi karl,

 

independent tasks should run in parallel!

 

Right now you seem to process your tasks in series: first plot something, then call a subVI with a 2s delay, then plot again…

Best regards,
GerdW


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

How can I run the if structure in parallel?

0 Kudos
Message 3 of 4
(2,439 Views)

Hi Karl,

 

THINK DATAFLOW: when structures have no data dependencies they run in parallel…

Best regards,
GerdW


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