<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating sparse enums in CVI for LabVIEW in LabWindows/CVI</title>
    <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/552269#M30516</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/39295"&gt;@jr_2005&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;DIV&gt;Careful! Once you start to use CVI you might just find that you like it!&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/DIV&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not really. &lt;img id="smileyindifferent" class="emoticon emoticon-smileyindifferent" src="https://ni.lithium.com/i/smilies/16x16_smiley-indifferent.gif" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt;&lt;/P&gt;
&lt;P&gt;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&amp;nbsp;use of LV. For some reason, it does not seem to me to be very polished.&lt;/P&gt;
&lt;P&gt;By the way, this has nothing to do with C vs. LV. I think&amp;nbsp;Visual Studio&amp;nbsp;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?&lt;/P&gt;
&lt;P&gt;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.&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jul 2007 10:03:45 GMT</pubDate>
    <dc:creator>tst</dc:creator>
    <dc:date>2007-07-18T10:03:45Z</dc:date>
    <item>
      <title>Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548500#M30416</link>
      <description>&lt;SPAN class="noindex"&gt;
   LabVIEW, for some reason, does not support creating or editing sparse enums.&lt;BR /&gt;&lt;BR /&gt;NI, however, describes &lt;A href="http://zone.ni.com/devzone/cda/tut/p/id/4032" target="_blank"&gt;a process&lt;/A&gt; to import sparse enums created in CVI.&lt;BR /&gt;&lt;BR /&gt;I
want to try to hack this and see if I can create an editor for these,
but I don't have CVI, so I was hoping someone could create a couple of
these sparse enums and upload them. I'm not sure if this matters, but I
have access to LV 7.0 and 7.1, so I'd appreciate something in parallel
versions.&lt;BR /&gt;&lt;BR /&gt;Examples:&lt;BR /&gt;&lt;BR /&gt;[value, label&lt;BR /&gt;&lt;BR /&gt;1, one&lt;BR /&gt;4, four&lt;BR /&gt;6, six&lt;BR /&gt;2, two&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;[value, label&lt;BR /&gt;&lt;BR /&gt;6, apple&lt;BR /&gt;24, orange&lt;BR /&gt;18, pear&lt;BR /&gt;27, peach&lt;BR /&gt;0, grape&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:17:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548500#M30416</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-10T18:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548809#M30426</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Well, I followed steps 1 to 7 of the instructions in your link, using&amp;nbsp;your sample data. I don't have LabView, so I couldn't go any further. Attached fp file was created with CVI 7.0 (the only&amp;nbsp;version I have). (It is inside a zip file: the forum would not accept a file with the&amp;nbsp;.fp extension...)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Good luck!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;JR&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Jul 2007 08:44:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548809#M30426</guid>
      <dc:creator>jr_2005</dc:creator>
      <dc:date>2007-07-11T08:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548891#M30429</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Thank you, but what I got there are rings, which can be sparse in LV.&lt;/P&gt;
&lt;P&gt;Can you do the same with an enum?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2007 12:05:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548891#M30429</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-11T12:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548893#M30430</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Or did you already use an enum and this process simply converts it to a ring?&lt;/P&gt;
&lt;P&gt;The article is from before LV 7.0 was released (which I believe was the first version which had sparse rings), so it's possible it never did produce sparse enums, but I saw people say that they did use this process to create sparse enums in LV. I suppose it is possible they did not remember correctly.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2007 12:10:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548893#M30430</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-11T12:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548917#M30431</link>
      <description>&lt;DIV&gt;Looks like I misunderstood what you wanted...&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;In straight C, your 'sparse enum' could be simply written as follows:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;enum fruit {&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; grape = 0,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; apple = 6,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pear = 18,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; orange = 24,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; peach = 27&lt;/DIV&gt;
&lt;DIV&gt;};&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;But I though you wanted something more complex - ie the Ring control in the link that you pointed to. Is this not so?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;JR&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Jul 2007 13:13:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548917#M30431</guid>
      <dc:creator>jr_2005</dc:creator>
      <dc:date>2007-07-11T13:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548955#M30433</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;In LabVIEW, a ring is simply a numeric&amp;nbsp;control which&amp;nbsp;has a list of display strings. The strings and values in the control can be changed at any time since the control is a simple numeric.&lt;/P&gt;
&lt;P&gt;An enum is a special numeric data type where the value includes both an integer and a string. The main advantage is when using case structures - wiring an enum to a case structure gives you the enum strings in the case structure, like this: &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/180/30433/1/Example_VI.png" /&gt;&lt;A href="http://forums.ni.com/attachments/ni/180/30433/1/Example_VI.png" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Changing the enum values after connecting it to the case structure will propogate accordingly.&amp;nbsp;Wiring a ring control to a case structure&amp;nbsp;is just like wiring any other numeric - you need to use numeric values.&lt;/P&gt;
&lt;P&gt;The problem is that to set up enums you need to use the editing interface and that does not allow changing the values of the enum - they must be 0,1,2,3,4, etc. In my hacking I did manage to change the order of these, but not create a sparse one, and that's why I want the one from CVI. As I said, it is possible that this only applies to rings, but I was hoping it worked for enums as well. How do you place an enum into a control?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2007 14:02:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548955#M30433</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-11T14:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548996#M30435</link>
      <description>&lt;DIV&gt;Well, we would probably use a Ring control&amp;nbsp;&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://ni.lithium.com/i/smilies/16x16_smiley-tongue.gif" alt="Smiley Tongue" title="Smiley Tongue" /&gt; or a List Box - both of these allow arbitrary Label/Value pairs, with a wide choice of data types (int, char, string, double etc.) so not restricted to just numbers.&amp;nbsp;The fp editor (at least at CVI 7.0) does not support List Box controls so this looks like a dead end. Can LabView import CVI UIR files? This would give a larger field to experiment in.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;JR&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Jul 2007 14:40:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/548996#M30435</guid>
      <dc:creator>jr_2005</dc:creator>
      <dc:date>2007-07-11T14:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549158#M30440</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;LabVIEW has three basic types - &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ring - a numeric control with display strings. The value is the numeric value associated with the string you selected.&lt;/LI&gt;
&lt;LI&gt;Combo box - a string control with a list of display strings.&lt;/LI&gt;
&lt;LI&gt;Enum - a numeric type with fixed embedded strings.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I'm guessing the only way to import is using the process descibed there and explicitly refers to sparse enums, so I was hoping that would be simple, but I also see that the process says to use a ring control. I take it there is no other way to&amp;nbsp;insert an&amp;nbsp;enum into a control?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2007 18:32:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549158#M30440</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-11T18:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549459#M30446</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Looking at your description of a LabView enum it seems to have a correlation to a simple C string table, which can be defined like this:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char *strings [] = {"Zero", "One", "Two", "Three", "Four", "Five"};&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; n = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Print (strings [n]);&amp;nbsp;&amp;nbsp;&amp;nbsp; // Match the string to a numeric value&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;So this also gives a direct mapping of strings to sequential numeric values, where no gaps are allowed. With such a simple C primitive, CVI does not really need a specific GUI control to manipulate the resulting data.&lt;/P&gt;
&lt;P&gt;JR&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2007 08:56:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549459#M30446</guid>
      <dc:creator>jr_2005</dc:creator>
      <dc:date>2007-07-12T08:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549542#M30449</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;If my C understanding is correct, you can go back at any point in your code and change the array to hold other strings, so that's just a string array. An enum has constant strings and values as part of its data type, just like you can't set an int variable to be 3.6.&lt;/P&gt;
&lt;P&gt;The LV enum is not necessarily limited to an ordered list.&amp;nbsp;In my hacking I did manage to create an out of order enum ("three, one, zero, two"; 3, 1, 0, 2), but not one which includes numbers which are not sequential from 0. I was hoping this process would help.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2007 11:53:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549542#M30449</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-12T11:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549679#M30453</link>
      <description>&lt;DIV&gt;Hi tst.&lt;/DIV&gt;
&lt;DIV&gt;I also get rings instead of enums.&lt;BR /&gt;Confusing: The &lt;A href="http://zone.ni.com/devzone/cda/tut/p/id/4032" target="_blank"&gt;NI document&lt;/A&gt; introduces this method as a way to create sparse enums but in (14) it says: "On the front panel of this VI, the custom text ring control appears." This is what I get, too.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Then I checked the .fp and the rings had the data type "int". In LabVIEW, enums must be U8, U16 or U32 -&amp;gt; So I changed the data types in the .fp (see attachment)&amp;nbsp;and again imported the .fp in LV7.1.1 -&amp;gt; no change, again I see the rings (but this time with unsigned data types).&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Who knows, how to get the sparse enums in LabVIEW ???&lt;/DIV&gt;
&lt;DIV&gt;Regards, Guenter&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Jul 2007 14:38:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549679#M30453</guid>
      <dc:creator>GuenterMueller</dc:creator>
      <dc:date>2007-07-12T14:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549740#M30454</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Yes, those are still rings.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:22:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549740#M30454</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-12T15:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549790#M30456</link>
      <description>&lt;DIV&gt;Careful! Once you start to use CVI you might just find that you like it!&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;JR&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:53:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/549790#M30456</guid>
      <dc:creator>jr_2005</dc:creator>
      <dc:date>2007-07-12T15:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/550012#M30463</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hello tst,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Unfortunately, you are correct.&amp;nbsp; If I understand you correctly you are trying to create a way to pass a tuple&amp;nbsp;(string,integer)&amp;nbsp;the same way that the enum does.&amp;nbsp; The enum is built on&amp;nbsp;an array and just uses the array index as the integer when it passes the value.&amp;nbsp; This is why you cannot create a sparse enum.&amp;nbsp; I don't believe that there is currently a way to duplicate this behaviour using CVI widgets.&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Jul 2007 21:15:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/550012#M30463</guid>
      <dc:creator>Ben M</dc:creator>
      <dc:date>2007-07-12T21:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/550189#M30469</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/80777"&gt;@Ben M&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;The enum is built on&amp;nbsp;an array and just uses the array index as the integer when it passes the value.
&lt;HR /&gt;
&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;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&amp;nbsp;(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).&lt;/P&gt;
&lt;P&gt;BTW, the attached also demonstrates quite clearly that the&amp;nbsp;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.&amp;nbsp;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2007 06:52:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/550189#M30469</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-13T06:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/550191#M30470</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Actually, after trying it again just now, it seems that this reordering does not propogate and just stays in the control (makes sense, since it's not in the type descriptor). You can see this by probing the enum wire. The string displayed is the string which is found in index n of the string array, where n is the numeric value of the wire, so if you select "Three", the probe shows you 3 and "One", which is the fourth element in the string array.</description>
      <pubDate>Fri, 13 Jul 2007 07:00:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/550191#M30470</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-13T07:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sparse enums in CVI for LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/552269#M30516</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/39295"&gt;@jr_2005&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;DIV&gt;Careful! Once you start to use CVI you might just find that you like it!&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/DIV&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not really. &lt;img id="smileyindifferent" class="emoticon emoticon-smileyindifferent" src="https://ni.lithium.com/i/smilies/16x16_smiley-indifferent.gif" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt;&lt;/P&gt;
&lt;P&gt;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&amp;nbsp;use of LV. For some reason, it does not seem to me to be very polished.&lt;/P&gt;
&lt;P&gt;By the way, this has nothing to do with C vs. LV. I think&amp;nbsp;Visual Studio&amp;nbsp;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?&lt;/P&gt;
&lt;P&gt;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.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:03:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/Creating-sparse-enums-in-CVI-for-LabVIEW/m-p/552269#M30516</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2007-07-18T10:03:45Z</dc:date>
    </item>
  </channel>
</rss>

