LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing FP control properties with references causes error 1055

Solved!
Go to solution

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. 

0 Kudos
Message 1 of 5
(2,956 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(2,946 Views)

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.Smiley Happy

Message 3 of 5
(2,944 Views)

Here's a general zip version. I think I did the wiring right. Have a look at it plz

0 Kudos
Message 4 of 5
(2,923 Views)
Solution
Accepted by topic author GoKu25

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 5
(2,915 Views)