LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does LabView 8 handle Ring constants?

That, in fact, is exactly what I have done - I developed a converter to go both ways.  It's a bit of a pain-in-the-butt, but hopefully someday I will be able to just replace the one control with a real enum function and be done with it!

Jason

Message 11 of 14
(833 Views)

Hi Jason,

Have some stars for handling that so well!

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 12 of 14
(829 Views)
Hi,

I totally agree with you!!! I also need "parse enums".

I was struggling with "type def ring constants" and trying to figure out why they didn't update. But reading this thread it all became clear!

Just using the indirect way now!

BJK
0 Kudos
Message 13 of 14
(789 Views)
Yes this is one of my main gripes.  I want sparse enums and updatable ring and combo boxes.  One use for sparse enums in programming is bit-flags where each bit has a unique meaning, it is used throughout instrument error control and also extensively for properties in the MFC.  This is fakable because you can use an enum and its value just corresponds to a bit shift (ie a value of 2^n).  This has helped me in the past, but still arbitrary values are not allowed.  I hope this is solved soon because I keep complaining about this deficiency in Labview.
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 14 of 14
(779 Views)