07-12-2007 09:38 AM
07-12-2007 10:22 AM
Yes, those are still rings.
The article definitely speaks about sparse enums and people also talked specifically about sparse enums, but I suppose it is possible that it refers only to sparse rings, which were unavailable before LV 7.0. I'm actually downloading CVI to see if I can play with it.
07-12-2007 10:53 AM
07-12-2007 04:15 PM
07-13-2007 01:52 AM
@Ben M wrote:
The enum is built on an array and just uses the array index as the integer when it passes the value.
At face value, I would agree, but I did manage to create an enum which is out of order fairly easily, without even using any supersecret scripting (see attached, LV 7.0), and that document and other people also clearly refered to sparse enums, which is why I'm still hoping this could work. Do you know this for a fact or are you just quoting some internal KB \ something you heard? (no offense, but not all of NI's AEs are created equal. I ran into more than one who were not always that helpful to the users in the forums).
BTW, the attached also demonstrates quite clearly that the value of the elements is not defined in the type descriptor, which means it must be somewhere else, but looking at the binary structure of that control didn't reveal anything conclusive either.
07-13-2007 02:00 AM
07-18-2007 05:03 AM
@jr_2005 wrote:
Careful! Once you start to use CVI you might just find that you like it!
Not really. ![]()
I won't say I went through tutorials and really tried to learn it, but I wasn't that impressed. I think it looks (I'll be gentle) not very nice and I miss the ease of use of LV. For some reason, it does not seem to me to be very polished.
By the way, this has nothing to do with C vs. LV. I think Visual Studio and Eclipse, to name a couple of IDEs, look great. Why do people choose CVI over any other C compiler? Does it have any particular advantages?
Anyway, Rolf said that what he saw in the past was most likely sparse rings and not sparse enums, and that seems reasonable when you consider the way the enum datatype is represented in LV, so I think we can officially say that there is currently no way to have sparse enums in LV.