08-18-2017 01:51 PM
I have attached the application wherein I enable/disable controls based on some conditions. I take the references to controls, put them in a shift register and use it in different cases. Accessing the properties of such elements with property node yields error 1055. I can't identify the mistake in the code. Have a look at the wait case of consumer loop with the diagram disable structure.
Solved! Go to Solution.
08-18-2017 02:03 PM
That error is telling you the control ref you are trying to use is bogus.
Make sure the control refs are valid and you are not loosing them in a case, event whatever that has a tunnel marked as "Use default if unwired" for example.
Ben
08-18-2017 02:05 PM - edited 08-18-2017 02:06 PM
Well, I don't have 7zip, so my best guess, not being able to see the code, is that you generally wouldn't put references in a shift register unless you intend to change the reference. It's too easy to forget to wire the reference back into the register.
Edit: Ben beat me to it.
08-18-2017 02:29 PM
Here's a general zip version. I think I did the wiring right. Have a look at it plz
08-18-2017 02:43 PM
You are loosing your control refs in the "Initialize UI.vi". While the cluster coming in has the valid refs they are not returned from that sub-VI. Use a bundle by name to add the valid refs to the cluster.
Ben