<?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: ComboBox constant autoupdate - suggestions? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982661#M1136812</link>
    <description>&lt;P&gt;XNode would be a nice solution but I'm not that experienced in that area.&lt;/P&gt;
&lt;P&gt;Can you provide more details how you built your XNode?&lt;/P&gt;
&lt;P&gt;Our expectation will be very similar to what you did: to have Combobox populated from external source (file, other control, etc.)&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2019 14:50:40 GMT</pubDate>
    <dc:creator>pitol</dc:creator>
    <dc:date>2019-10-29T14:50:40Z</dc:date>
    <item>
      <title>ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982287#M1136634</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before I start I want to clarify that I am aware of the separation of value and type for Combobox controls.&lt;/P&gt;
&lt;P&gt;I know that updating Combobox typdef does not update any combobox constants used in VI.&lt;/P&gt;
&lt;P&gt;I'm looking for a suggestion that might help me out with what I want to create. Perhaps Comboboxes are not the best solution here, but let's see.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First I would like to quickly explain what I want to achieve.&lt;/P&gt;
&lt;P&gt;I have a list of commands, for example: "A" and "B" (in real app, there will be &amp;gt;1000 commands).&lt;/P&gt;
&lt;P&gt;I'm keeping those commands in Combobox Strict Typedef Control.&lt;/P&gt;
&lt;P&gt;In my application I'm using those commands mostly as a Combobox constants.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="First.PNG" style="width: 108px;"&gt;&lt;img src="https://ip1.i.lithium.com/cc5c4c46299c2a538d6e3e9978e66b102ba3deb8/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32353530343869444146443546323332433541353937332f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="First.PNG" alt="First.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I would like to update the Combobox Strict Typedef to remove "A" and add "C".&lt;/P&gt;
&lt;P&gt;That's easy... But the constant does not update (I know...).&lt;/P&gt;
&lt;P&gt;What I would like to have is to KEEP the previous value as selected, but have the drop down menu updated.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Second.PNG" style="width: 122px;"&gt;&lt;img src="https://ip1.i.lithium.com/9c3baf4ae5c02788e01a8a4b9a3af80463a20ea3/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32353530353069413837454446413536353841354338382f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Second.PNG" alt="Second.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The reason for that is simple - I do not want to break anything that was set before the typedef update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would use the enums but whenever I update Enum Strict Typedef I will loose previous value of a constant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any suggestion how can I achieve this behavior?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 13:40:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982287#M1136634</guid>
      <dc:creator>pitol</dc:creator>
      <dc:date>2019-10-28T13:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982411#M1136693</link>
      <description>&lt;P&gt;You can do this if you do a "right-click -&amp;gt; replace" on the constant, and select the newly updated type definition as the thing to replace it with.&amp;nbsp; The value will be preserved, the drop-down will update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have tons of these, you can automate it with VI scripting.&amp;nbsp; This should do it for all constants in one file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Replace combobox constant.png" style="width: 969px;"&gt;&lt;img src="https://ip1.i.lithium.com/0de2da176d1b670ace44acaede7bbfaeae0ec5e4/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32353530373369374139344439354132394431464645302f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Replace combobox constant.png" alt="Replace combobox constant.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can modify it to do this to all files in a directory, in your project, whatever scope you want.&amp;nbsp; That part's up to you.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 17:55:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982411#M1136693</guid>
      <dc:creator>Kyle97330</dc:creator>
      <dc:date>2019-10-28T17:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982415#M1136694</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/149630"&gt;@pitol&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would use the enums but whenever I update Enum Strict Typedef I will loose previous value of a constant.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As long as you add new items to the end of the enum, the constant values will be preserved when you edit the enum typedef.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 18:20:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982415#M1136694</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2019-10-28T18:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982418#M1136696</link>
      <description>&lt;P&gt;In your labview.ini, add the following line:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;EnableStrictTypedefConstantConfiguration=True&lt;/P&gt;
&lt;P&gt;(If LabVIEW is open, you'll have to close &amp;amp; reopen for the changes to take effect).&lt;/P&gt;
&lt;P&gt;After you drop a combobox constant on the block diagram, right-click on it and select "Act as Strict TypeDef Constant" (you'll have to do that for every CB constant).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 18:30:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982418#M1136696</guid>
      <dc:creator>paul_cardinale</dc:creator>
      <dc:date>2019-10-28T18:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982420#M1136697</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/260910"&gt;@paul_cardinale&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;EnableStrictTypedefConstantConfiguration=True&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This INI token is &lt;STRONG&gt;not an officially supported feature&lt;/STRONG&gt;. It is not fully tested, experimental, and could cause other issues in your code.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 18:40:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982420#M1136697</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2019-10-28T18:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982518#M1136748</link>
      <description>&lt;P&gt;Thanks you all for your suggestions.&lt;/P&gt;
&lt;P&gt;Let me answer you all one by one.&lt;/P&gt;
&lt;P&gt;@Kyle97330&lt;/P&gt;
&lt;P&gt;Unfortunately I cannot use references to find all instances of that particular typdef in my final app. I can only update the typedef itself.&lt;/P&gt;
&lt;P&gt;(EDIT: after some thoughtful discussion with my colleagues we may go with the references, but if there is a chance to avoid iterating through all of the BD constants I would love it)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@Darren&lt;/P&gt;
&lt;P&gt;I'm aware of that behavior but unfortunately I will not be adding new commands to the typedef, rather changing the list completely.&lt;/P&gt;
&lt;P&gt;Therefore the Combobox seems to fit perfectly here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@paul_cardinale&lt;/P&gt;
&lt;P&gt;I would go with Darren on this. We tested that item but it does not meet our expectations. It only works if you do all the work manually.&lt;/P&gt;
&lt;P&gt;We want to do it automatically so... nope...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe I will explain more what I want to have.&lt;/P&gt;
&lt;P&gt;I am going to provide a control (typdef) with a list of commands.&lt;/P&gt;
&lt;P&gt;Any other user can use that control (typdef) in his app.&lt;/P&gt;
&lt;P&gt;I want to provide an update functionality to change the list of commands in that particular control (typdef).&lt;/P&gt;
&lt;P&gt;I would like that all users using that control (typdef) will have automatically updated all of their instances in their apps, including block diagram constants. But of course, preserving the original value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im talking only about development. It is not intended to work in executable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 05:37:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982518#M1136748</guid>
      <dc:creator>pitol</dc:creator>
      <dc:date>2019-10-29T05:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982551#M1136760</link>
      <description>&lt;P&gt;It sounds like you want a Text Ring with "allow undefined values" active, then update the Strings[] property to the new list. This list will not be a typedef as it'll be changing dynamically.&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 09:28:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982551#M1136760</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2019-10-29T09:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982602#M1136790</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;Maybe I will explain more what I want to have.&lt;/P&gt;
&lt;P&gt;I am going to provide a control (typdef) with a list of commands.&lt;/P&gt;
&lt;P&gt;Any other user can use that control (typdef) in his app.&lt;/P&gt;
&lt;P&gt;I want to provide an update functionality to change the list of commands in that particular control (typdef).&lt;/P&gt;
&lt;P&gt;I would like that all users using that control (typdef) will have automatically updated all of their instances in their apps, including block diagram constants. But of course, preserving the original value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im talking only about development. It is not intended to work in executable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other suggestions?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would make the typedef'd control an enum, with the enum strings being the names of the commands.&amp;nbsp; And partner the enum with a VI that translates an enum value into a command string.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clipboard.png" style="width: 296px;"&gt;&lt;img src="https://ip1.i.lithium.com/db316af17bcd6c6f25896b5e0d411486d03d4c83/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32353530393369463033413036424532424345363343362f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Clipboard.png" alt="Clipboard.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then when you make changes to the command set, you have only to update 2 files: the enum typedef and the translation VI.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 12:26:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982602#M1136790</guid>
      <dc:creator>paul_cardinale</dc:creator>
      <dc:date>2019-10-29T12:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982639#M1136806</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/149630"&gt;@pitol&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Maybe I will explain more what I want to have.&lt;/P&gt;
&lt;P&gt;I am going to provide a control (typdef) with a list of commands.&lt;/P&gt;
&lt;P&gt;Any other user can use that control (typdef) in his app.&lt;/P&gt;
&lt;P&gt;I want to provide an update functionality to change the list of commands in that particular control (typdef).&lt;/P&gt;
&lt;P&gt;I would like that all users using that control (typdef) will have automatically updated all of their instances in their apps, including block diagram constants. But of course, preserving the original value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im talking only about development. It is not intended to work in executable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other suggestions?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If the typedef only needs to be on the BD, and never on the FP, I personally would be tempted to make an XNode; but that could get very complicated.&amp;nbsp; I've done something similar: It's an XNode that translates a signal name into a DAQmx task name based on a translation .INI file.&amp;nbsp; On the BD, it looks similar to a combo box.&amp;nbsp; The dropdown list of signal names is populated from the key names in the .INI file.&amp;nbsp; The value output is the DAQmx name taken from the corresponding key value in the .INI file.&amp;nbsp; In our system, NI-Max (which defines the DAQmx names) lives on our Universal Test Racks; and the translation .INI files live on USB drives inside adapters that go on the racks.&amp;nbsp; It works well, but the XNode is extremely complicated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 13:41:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982639#M1136806</guid>
      <dc:creator>paul_cardinale</dc:creator>
      <dc:date>2019-10-29T13:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982661#M1136812</link>
      <description>&lt;P&gt;XNode would be a nice solution but I'm not that experienced in that area.&lt;/P&gt;
&lt;P&gt;Can you provide more details how you built your XNode?&lt;/P&gt;
&lt;P&gt;Our expectation will be very similar to what you did: to have Combobox populated from external source (file, other control, etc.)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 14:50:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982661#M1136812</guid>
      <dc:creator>pitol</dc:creator>
      <dc:date>2019-10-29T14:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982682#M1136818</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/149630"&gt;@pitol&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;Can you provide more details how you built your XNode?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sorry to keep being a party pooper, but XNodes are &lt;STRONG&gt;not an officially supported feature&lt;/STRONG&gt;&lt;SPAN&gt;. In my &lt;A href="http://bit.ly/dnattlvhooks" target="_self"&gt;Don't Wait for LabVIEW R&amp;amp;D... Implement Your Own LabVIEW Features!&lt;/A&gt; presentation, I specifically call them out as rusty nails that you should avoid.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 15:32:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982682#M1136818</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2019-10-29T15:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982690#M1136820</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/149630"&gt;@pitol&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I will not be adding new commands to the typedef, rather changing the list completely.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Really? So if I'm using a command, there's a chance you'll remove that command from the list with a later revision of the ring/combo box/enum/whatever? That's a strange use case. Why not maintain the same list and just add new commands after they come up?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if you use an enum, and it contains all the command strings you need, you could use a Malleable VI to convert it to a string. You would not need to update the Malleable VI when the enum updates. This assumes that the enum strings exactly match the command strings. Another advantage of using a Malleable VI is that you could have multiple command enums that all use the same Malleable VI.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 15:45:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982690#M1136820</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2019-10-29T15:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982693#M1136823</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/9546"&gt;@Darren&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/149630"&gt;@pitol&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;Can you provide more details how you built your XNode?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sorry to keep being a party pooper, but XNodes are &lt;STRONG&gt;not an officially supported feature&lt;/STRONG&gt;&lt;SPAN&gt;. In my &lt;A href="http://bit.ly/dnattlvhooks" target="_self"&gt;Don't Wait for LabVIEW R&amp;amp;D... Implement Your Own LabVIEW Features!&lt;/A&gt; presentation, I specifically call them out as rusty nails that you should avoid.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, XNodes are very dangerous; and most people should avoid them.&amp;nbsp; But I mess with them anyway (I like XControls too).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 15:52:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982693#M1136823</guid>
      <dc:creator>paul_cardinale</dc:creator>
      <dc:date>2019-10-29T15:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982700#M1136828</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/149630"&gt;@pitol&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;XNode would be a nice solution but I'm not that experienced in that area.&lt;/P&gt;
&lt;P&gt;Can you provide more details how you built your XNode?&lt;/P&gt;
&lt;P&gt;Our expectation will be very similar to what you did: to have Combobox populated from external source (file, other control, etc.)&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How to build an XNode is a very large topic.&amp;nbsp; And if you head in that direction, you'll be entering dangerous waters.&amp;nbsp; Here's a hypothetical worst case that could happen:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;You create an XNode, test it thoroughly, then start using it (in many places).&lt;/LI&gt;
&lt;LI&gt;You make a small, innocuous change to the XNode.&amp;nbsp; But you fail to manage (or don't properly manage) the updating; this could be as simple as a typo in your update code.&lt;/LI&gt;
&lt;LI&gt;You test the new version thoroughly (so you think), and it works fine.&amp;nbsp; You test old VIs that were built with the previous version of the XNode, and they still work fine.&amp;nbsp; Being paranoid, you mass compile those old VIs and retest them.&amp;nbsp; Everything is still fine.&lt;/LI&gt;
&lt;LI&gt;At some later date, those old VIs start breaking, or worse yet, they don't break, they just don't work properly anymore.&amp;nbsp; And this is due to a latent bug in the XNode that has been hiding because of Item 2.&amp;nbsp; The triggering of the bug could be caused by something as innocuous as just moving the mouse over the XNode.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Imagine trying to debug that.&amp;nbsp; VIs quit working properly because of a bug introduced months ago, that comes out of hiding when you move your mouse a certain way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if your not scared, have a look at my DAQ Signal XNode.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 16:10:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982700#M1136828</guid>
      <dc:creator>paul_cardinale</dc:creator>
      <dc:date>2019-10-29T16:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982705#M1136831</link>
      <description>&lt;P&gt;Ok, I'll say I won't use Xnodes...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@Darren&lt;/P&gt;
&lt;P&gt;Yes, the use case would be exactly as you said. The only difference will be that those will not be commands, but IDs of registers that the user can select to read/write.&lt;/P&gt;
&lt;P&gt;I'm going to provide a control on the palette with the list of registers.&lt;/P&gt;
&lt;P&gt;Imagine that a user use the provided control (list of registers) as a constant in his app.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the user starts from scratch, then there is no problem. The control is up to date when the user starts development of his app.&lt;/P&gt;
&lt;P&gt;But after a while, the dev team releases new list of registers. I am updating the typedef with new list of registers.&lt;/P&gt;
&lt;P&gt;The user would like to apply new list of registers to the app, but preserving the previous value.&lt;/P&gt;
&lt;P&gt;Why preserving?&lt;/P&gt;
&lt;P&gt;Let's assume that the user initially selected "5000:BatteryVoltage" ID.&lt;/P&gt;
&lt;P&gt;The list has been updated. Now the "BatteryVoltage" is under "6000:BatteryVoltage" ID.&lt;/P&gt;
&lt;P&gt;I do not want to update the constant (enum) automatically, because I do not know in what state that specific constant will end up.&lt;/P&gt;
&lt;P&gt;I want the user to do it manually.&lt;/P&gt;
&lt;P&gt;So I would expect that the previous value will be preserved, but the dropdown list is updated with new list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Honestly, I think I'll go with ability to go through the project and update all instances of that particular typedef.&lt;/P&gt;
&lt;P&gt;I thought I could avoid that but it seems it is not possible.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 16:20:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982705#M1136831</guid>
      <dc:creator>pitol</dc:creator>
      <dc:date>2019-10-29T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982712#M1136837</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/149630"&gt;@pitol&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not want to update the constant (enum) automatically, because I do not know in what state that specific constant will end up.&lt;/P&gt;
&lt;P&gt;I want the user to do it manually.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This functionality is currently available with the &lt;A href="http://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/manual_update_typedef/" target="_self"&gt;Review and Update from Type Def&lt;/A&gt; feature. If you update a typedef source (I'm thinking an enum for your use case), and LabVIEW doesn't find an exact match for the value that was previous set in an instance of the typedef (control or constant), LabVIEW will break your VI, and you will use the Review and Update feature to update the typedef instance manually.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 16:26:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982712#M1136837</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2019-10-29T16:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982982#M1136952</link>
      <description>&lt;P&gt;The Review and Update functionality seems fine, but it has couple of "features" that do not fit into my use case.&lt;/P&gt;
&lt;P&gt;If I update the typdef the code becomes broken. I do not want that. I want the code to remain unbroken, with preserved value but having new values possible to be selected.&lt;/P&gt;
&lt;P&gt;I know it may sound irrational but it is what it is.&lt;/P&gt;
&lt;P&gt;If there are no solution for this use case other than going through all instances of that particular typdef then I can live with that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you all for the feedback.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 13:01:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3982982#M1136952</guid>
      <dc:creator>pitol</dc:creator>
      <dc:date>2019-10-30T13:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3983008#M1136969</link>
      <description>&lt;P&gt;From afar, it sounds puzzling to me that you'd want to preserve an old value&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;that might not be valid&lt;/STRONG&gt;&lt;/EM&gt; and also avoid the code breakage that could act as a critical clue about the change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code breakage is a hassle, but it's a *valuable* one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Kevin P&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 13:48:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3983008#M1136969</guid>
      <dc:creator>Kevin_Price</dc:creator>
      <dc:date>2019-10-30T13:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3983094#M1137023</link>
      <description>&lt;P&gt;I'm becoming very concerned about the direction this topic is taking.&amp;nbsp; It seems to be straying further and further away from LabVIEW best practices, and when you do that, things become very murky and unpredictable.&amp;nbsp; They become fraught with unknowable consequences and make code very, very fragile.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 16:24:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3983094#M1137023</guid>
      <dc:creator>billko</dc:creator>
      <dc:date>2019-10-30T16:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox constant autoupdate - suggestions?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3983258#M1137101</link>
      <description>&lt;P&gt;If I could, I would easily go with enums and use their power &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But the behavior I explained is required by the customer. Preservation of a previous value (regardless if it's valid or not) is a must.&lt;/P&gt;
&lt;P&gt;Therefore I am using Comboboxes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At the beginning I thought it would be cool to update them all automatically, but after some thoughts (and your feedback) I think it will be better to update them consciously by user (by pressing UPDATE THEM ALL!) using some scripting.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 08:38:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ComboBox-constant-autoupdate-suggestions/m-p/3983258#M1137101</guid>
      <dc:creator>pitol</dc:creator>
      <dc:date>2019-10-31T08:38:21Z</dc:date>
    </item>
  </channel>
</rss>

