LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Something is blocking my loop and I can't update the buttons

Thank you guys for the massive response!

 

First of all, programing in LabView is great at all, but sometimes it drives me crazy Smiley Wink

 

Yeah the BD is quite big... I'm going to create a subVI with the lower part.

I tried it before and it didn't work, the reason was the event structures I think.

 

I removed the events and then its working fine.

 

I'm not sure, how to replace that event structures to get the same functionality?!

I will try to create some parallel loops to get this working.

 

The decoration frames are just for... decoration 😉

 

0 Kudos
Message 11 of 13
(282 Views)

Hi Steffen,

 

you don't need to replace all those event structure. You need to place them independently from the rest of the code so they will not block your loops…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 13
(277 Views)

Hey Gerd,

 

You are right. Now I got the data flow right.

I just put the events outside of the main loop, so it will run all the time in another thread.

 

It's working fine now. Thank you all!

Message 13 of 13
(266 Views)