I use the following Sub Vi to change control properties, such as color, bliking, etc by passing a ref to a cluster and dereferencing it in the sub vi, and setting the property nodes. Works fine in development environment, but when I build the app, it ignores the property changes(eg. control still blinks and doesn't change color) - I don't see how the code could be the culprit where it works in dev mode.
Thanks for the reply, Ben. I simply have a cluster of booleans and strings from a main vi. I created a reference in the sub VI, then dropped a copy of the cluster inside of it in the sub so I included the control type. I call the sub vi often in the main vi whenever I want the attributes of the controls to change. I create a reference to the cluster oin the main VI and connect it to the cluster reference in of the sub Vi. The funny thing is, in the built version, some of the property changes work and some don't but they all work in the Dev mode.
It sounds like we have to chase down the difference.
I could give the standard suggestion of simplifying until you can post an example of the issue, BUT, by the time you have completed that work, you probably figure out what the issue is.
For the time being, try checking the error cluster return values and use a dialog box to let you know what the property nodes are un-happy about.