LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set a ring enum to the first item, regardless of its value

Well, the OpenG data tools do extract the list of values (you can thank JPD for that), and you can get the strings by going over all the values of the enum in a loop and using Format Into String.

___________________
Try to take over the world!
0 Kudos
Message 11 of 14
(785 Views)
I know HOW to do it using the TD, I just find is silly to HAVE to.

Plus, we were talking about text rings, not enums.  Setting an enum to the lowest value (0) is quite easy.

I've very little experience with text rings, I don't really use them.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 12 of 14
(782 Views)
Shane, are non-sequential values for rings allowed in 6.1? I can't remember when they were introduced. If they aren't then there isn't a strings and values property.
You are right about the TD; it would be helpful only for enums.


LabVIEW, C'est LabVIEW

Message 13 of 14
(779 Views)
Aha, Thanks JeanPierre,

I thought the non-sequential text rings were always there.  Like I said, I've zero experience with them actually.

This would indeed explain why I can't find a way to access the minimum value, since it's basically always 0.

Thanks everyone for bearing with me.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 14 of 14
(776 Views)