<?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: Saving Panel States in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302351#M157698</link>
    <description>As for the configuration file VIs, if you download the &lt;A href="http://openg.org" target="_blank"&gt;OpenG&lt;/A&gt;&amp;nbsp;file package, you will get VIs that save and load all the controls on the panel to the INI file using the configuration file VIs.</description>
    <pubDate>Wed, 21 Dec 2005 08:24:31 GMT</pubDate>
    <dc:creator>tst</dc:creator>
    <dc:date>2005-12-21T08:24:31Z</dc:date>
    <item>
      <title>Saving Panel States</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302273#M157662</link>
      <description>&lt;DIV&gt;Is there a way to Save Panel States and Recall them later, like the SavePanelState function in LabWindows?&amp;nbsp; Where I can save the values of all the controls on the panel, and then reload them at a later time.&amp;nbsp; I saw another message that talked about the Configuration File&amp;nbsp;VI's, but I couldn't make sense of them.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;One last little question...&amp;nbsp; Is there a way to make a control the active control on a panel, like the SetActiveCtrl function in LabWindows.&amp;nbsp; Where if I press Enter or Space Bar it will trigger the command button.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for your help.&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 01:39:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302273#M157662</guid>
      <dc:creator>GoBlue</dc:creator>
      <dc:date>2005-12-21T01:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Panel States</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302297#M157668</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;For your first query, &lt;/DIV&gt;
&lt;DIV&gt;will not setting the control values you want in a sub panel as default do the job?&lt;/DIV&gt;
&lt;DIV&gt;To set controls to desired values, Go&amp;nbsp;to menu -&amp;gt; operate-&amp;gt; choose option 'make current values default'&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For your second query, if i understood, you want to syncronise some boolean button with a key board operation like pressing enter or space bar.&lt;/DIV&gt;
&lt;DIV&gt;for this, rigth click on that control, go to advanced in the drop down menu, and select key navigation and assign the key you want.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;hope this helps&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Regards&lt;/DIV&gt;
&lt;DIV&gt;Dev&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 04:26:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302297#M157668</guid>
      <dc:creator>devchander</dc:creator>
      <dc:date>2005-12-21T04:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Panel States</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302302#M157672</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;In addition to DevChander proposal, it is also possible to save and restore the control values programmatically, using property nodes as in the attached example. &lt;BR /&gt;The Configuration files vis are just convenient tools to save&amp;nbsp; data in a specific format allowing easy retrieval.&lt;BR /&gt;But if you only need to save and restaure all the panel state then the above solution should do.&lt;/P&gt;
&lt;P&gt;Getting focus to a given control can also be done programmatically using the key focus property node.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/170/157672/2/Save&amp;amp;Restore.png" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message Edité par chilly charly le &lt;SPAN class="date_text"&gt;12-21-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:49 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2005 04:48:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302302#M157672</guid>
      <dc:creator>chilly_charly</dc:creator>
      <dc:date>2005-12-21T04:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Panel States</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302351#M157698</link>
      <description>As for the configuration file VIs, if you download the &lt;A href="http://openg.org" target="_blank"&gt;OpenG&lt;/A&gt;&amp;nbsp;file package, you will get VIs that save and load all the controls on the panel to the INI file using the configuration file VIs.</description>
      <pubDate>Wed, 21 Dec 2005 08:24:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302351#M157698</guid>
      <dc:creator>tst</dc:creator>
      <dc:date>2005-12-21T08:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Panel States</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302477#M157744</link>
      <description>&lt;DIV&gt;Thanks for all the answers, and being a newbie, thanks for the example!&amp;nbsp; Is it possible to give the save state a name and then recall it by that name?&amp;nbsp; I would like each user to modify the settings to their need, and then be able to save it off and then load it back up when they need to.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;On the Active Control, in Labwindows I can make a command button the active control and then the user can press enter or the space bar and it presses the button for them.&amp;nbsp; I don't want to map any keys to the command button, just an easy way for the user to press the command button without using the mouse.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks again!&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 13:10:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Saving-Panel-States/m-p/302477#M157744</guid>
      <dc:creator>GoBlue</dc:creator>
      <dc:date>2005-12-21T13:10:02Z</dc:date>
    </item>
  </channel>
</rss>

