LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control reference controls break

I have numerous typedef clusters that contain typedef controls. I use references to these clusters to control GUI exceptions and permissions for the user. When I change one of  the controls inside the cluster, say an enum, all of my wires break that are connected to that control reference through my entire application. Why is this and is there a workaround? I thought changes to typedefs were supposed to propogate through the application.

PaulG.

LabVIEW versions 5.0 - 2023

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 1 of 4
(2,419 Views)

I have not seen this.

 

What version?

 

Can you posty screen shots please?

 

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 4
(2,414 Views)

I have had the same problem with references to an array of type def clusters.

 

My solution is to also type def the reference of the cluster. Then it is a 2 step process to make changes to the cluster.

 

1 Make the changes to the cluster type def and save it.

 

2 Then create a reference to the new changed cluster type def and then replace the reference in the reference type def with the new cluster reference and save.

 

I do not know of a way to have changes made to cluster automatically update all references to that cluster.

 

Omar

Omar
0 Kudos
Message 3 of 4
(2,404 Views)

At the tail end of a project and every little nuance and user request is clamoring for my attention and I haven't had a chance to get back to this. My main control that I was having so much trouble with wasn't linked to the typedef'd anymore. I don't remember unlinking it and that is why I never bothered to check. I don't know how it happened. I replaced it with the typedef and it seems to be OK now. (sheepish smiley here)

PaulG.

LabVIEW versions 5.0 - 2023

“All programmers are optimists”
― Frederick P. Brooks Jr.
Message 4 of 4
(2,359 Views)