LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Ring Text in an array of clusters

Solved!
Go to solution

I ran into the following problem recently, I was hoping someone could help. I am attempting to change the ring text of the ring controls that I have in an array of clusters. I am able to read out the text ring, but whenever I try to write to the text ring, I get an error about a strict type def. This occurs even though the control is a Type Def, and not a Strict Type Def. Probably something silly that I am overlooking, Thanks.....

0 Kudos
Message 1 of 4
(2,922 Views)
Solution
Accepted by topic author Z4CRUZN

@Z4CRUZN wrote:

I ran into the following problem recently, I was hoping someone could help. I am attempting to change the ring text of the ring controls that I have in an array of clusters. I am able to read out the text ring, but whenever I try to write to the text ring, I get an error about a strict type def. This occurs even though the control is a Type Def, and not a Strict Type Def. Probably something silly that I am overlooking, Thanks.....


Elements of an array can differ in value only. All of the properties of elements of an array are shared. The strings of a ring in a cluster in an array must all be the same.

 

One more point.

Are you sure it is a ring and not a enum?

 

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,913 Views)

It is a ring, but you have multiple copies of things there. Can you clarify what you are trying to do? It isn't clear from your code.

0 Kudos
Message 3 of 4
(2,882 Views)

As it turns out, that code was fine. Labview crashed on me previously, and was acting strangely. As something appears to have been stuck. All works now. Thanks....

 

Dan

0 Kudos
Message 4 of 4
(2,870 Views)