10-24-2012 04:49 PM
Can someone give me a few examples for Conditional Disable Symbols that is definite in project properties? Thanks!
10-25-2012
12:35 PM
- last edited on
01-21-2025
10:50 AM
by
Content Cleaner
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!
10-25-2012
02:50 PM
- last edited on
01-21-2025
10:58 AM
by
Content Cleaner
I understand how to use that structure. What I don't understand is
From the link that you sent me.
10-25-2012 04:39 PM
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.
10-26-2012 01:19 AM
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.