LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional Disable Symbols Application

Can someone give me a few examples for Conditional Disable Symbols that is definite in project properties?  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 5
(2,892 Views)

Conditional Disable Symbols allows you to define the symbols and values that you want to use in the Conditional Disable Structure.

 

You can go here to see examples of symbols and values that you can use to configure it.

 

Hope this helps!

Tarek B
Applications Engineer
National Instruments
Message 2 of 5
(2,858 Views)

I understand how to use that structure.  What I don't understand is

 

From the link that you sent me. 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 5
(2,834 Views)

A few of our testers require some control lines to be inverted because of a hardware difference from the rest.  Instead of having separate template VIs that I need to replace when moving to these testers I wrapped the lines in a conditional disable, and by changing the project conditional in one spot all the needed lines are inverted.


--Using LV8.2, 8.6, 2009, 2012--
Message 4 of 5
(2,825 Views)

We use conditional disable symbols in our development apps for sharing code but with differences on RT and on PC.  Some code has to be different on each platform even though much is shared.  We also use them for debug code, enabling and disabling major components in our architecture, enabled and disabling unit test code that is only needed during unit tests, etc, etc.  We also use a continuous integration server (jenkins) to alter the conditional symbols in memory to allow it to run custom simulation and unit test code instead of what runs otherwise in the real environment.  They are also useful to activate code in development mode, over executable, because you often want different behavior for front panel objects, since they don't exist in RT, but might on the PC.  Hope those give soem examples, they are the ways we use them for our apps.

Message 5 of 5
(2,805 Views)