LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ring control behaviour

Hello all,

Two questions...

I noticed a big difference in handling the ring control in LV (5, 6 and 6.1)
and (7).

The difference is in what is displayed as the ring selector value is "-1".

In LV (5, 6, 6.1) it is the last string in the string array.
In LV(7) it is "<65535>".

First question:

Is it possible to get the LV (5,6, 6.1) respons in LV (7), because the are a
lot (and I mean a lot) of ring controls used in the application.

Second question:

Why is it changed?

Greetz,

André Buurman
Software Engineer @ Carya Automatisering
0 Kudos
Message 1 of 3
(2,714 Views)
Pop-up on the ring control and look at the Representation. You'll notice that in some versions of LabVIEW it's an I16 and in others it's a U16. You can change the representation to an I16 and then -1 is a valid number for the ring (instead of just a wrap-around).

And, no, I don't know why they changed the default.

Rob
0 Kudos
Message 2 of 3
(2,714 Views)
This change hit me hard as well.

In my case there only about 6.

While you a "poping up" as Rob sugested, go to the properties.
On the "edit Items" tab, un-select the sequetial items box and then enter "-1" (aka 65535) and leave the string as blank.

It will work the same way at it did in 6.1.

Now if we could only do this for enum's....

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