11-20-2015 04:42 PM
Does anyone know how to set a conditional disable flag programmatically? I'm sure there's the old chestnut "how can you factor our code when it's already running?" but you seem to be able to edit project files programmatically so I assume you can edit the flag with one program, then call the next program, then reset the flag using the first program again with separate calls e.g. from a build server.
Solved! Go to Solution.
11-20-2015 05:54 PM - edited 11-20-2015 05:55 PM
I posted a picture of how to edit the conditional disable properties, but I misread your question so I deleted it, woops!
11-21-2015 09:53 AM
There is this, but I don't know if it will help you - http://lavag.org/topic/7454-conditional-disable-in-build-settings/page__view__findpost__p__74161
If you actually want to do things dynamically, you should have something along the lines of a global variable and a case structure to run the correct case. If it's a matter of not being able to load the code, you could try moving the offending code into subVIs and dynamically load and run those.
11-23-2015 08:13 PM
Thanks!