LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programacticly change the conditional diagram symbols

i was wondering if there is a way to programacticly change the values of the sysmbols used for the conditional disable diagram?
0 Kudos
Message 1 of 6
(3,697 Views)
What do you mean by "the values of the symbols"?  What symbols are you referring to?
0 Kudos
Message 2 of 6
(3,663 Views)

Hi,

since the conditional disable diagram tells the compiler to ignore the code in the disabled diagrams, I'm pretty sure that there is no way to change the values of the symbols at run time (you could get in trouble if the code in the initial disabled diagram has errors inside).

cosmin

0 Kudos
Message 3 of 6
(3,656 Views)

I agree with cosmin.

If you want to do it at development time then scripting can help.

http://forums.lavag.org/index.php?showforum=29

But back to the how I read the Q.

Call the code dynamically using invoke node run or call by reference.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 6
(3,651 Views)


@Ben wrote:
If you want to do it at development time then scripting can help.

I agree there is little need to change these very often (or at all). I somehow doubt scripting can touch these, because we cannot change them directly, we need to go to the project window and select "menu...project...properties..conditional disable symbols".

WIthout a project, they seem off limits.

I wonder where this information is stored.... 😉

(Hmmm, the help button on the project properties page does not seem to point to a valid help window ....:()

0 Kudos
Message 5 of 6
(3,634 Views)
Well I'll be jigger'd.

I had never seen the "Conditional Disable Symbols" thing in the project explorer properties...  Heck I've never even seen the project expolorer properties period!

I was thinking of the "Conditional Disable Structure" and was unaware of any properties it may/may not have.

Apologies for the previous post!

(I've never found the new projects to be very helpful and thus only make them when it's time to build an application - because I have to)
0 Kudos
Message 6 of 6
(3,610 Views)