LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

blocks - to have on the block diagram, but not to execute

Hello,
In standard programm languages there are possibilities to mark some lines in code not to execute them (for example, if we have written some code and want to use keep it in programm, but don't need to execute it right now)
e. g.
**
//
 
Does LabView allow to mark several blocks on block diagram, to have them on it, but not to execute?
 
Thank you in advance.
Anna
0 Kudos
Message 1 of 3
(2,375 Views)
Hi Anna,

in newer LabView versions you can disable parts of a block diagram by using the "Disable" structure. This will work even with unfinished, buggy code.
In older versions (pre-8) you can use a case structure to put the "not to be executed"-code in the not-executed case - but here the code has to be executable...
Best regards,
GerdW


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