<?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: Resetting default values in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1672302#M596232</link>
    <description>&lt;P&gt;I am not a DAQ expert so I can't give you all the of the specifics. However, in general the Express VIs (all of them, not just the DAQ) are there to help people get something working very quickly. They are not intended nor were they designed to be the most efficient and optimal code. If I am not mistaken a good example of this is that in the DAQ Express VIs things getting initialized, opened/closed and started/stopped much more than they need to. If you use the DAQ primitives you have complete control over your application and can really optimize it for performance and efficiency. You can't really do that using Express VIs.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2011 15:06:45 GMT</pubDate>
    <dc:creator>Mark_Yedinak</dc:creator>
    <dc:date>2011-08-16T15:06:45Z</dc:date>
    <item>
      <title>Resetting default values</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1404790#M546693</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="_mcePaste"&gt;LabVIEW 2010&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;I have a dialog VI that repeatedly called by TestStand. It has a boolean control that defaults to zero but since the VI apparently stays in memory the default value does not get set again. What is a good method for re-initializing my control value?&lt;/DIV&gt;
&lt;DIV&gt;Thanks,&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;jvh&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2011 22:00:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1404790#M546693</guid>
      <dc:creator>jvh75021</dc:creator>
      <dc:date>2011-01-05T22:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting default values</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1404794#M546695</link>
      <description>&lt;P&gt;There is a method (invoke node): Reinitalize to default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Felix&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2011 22:02:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1404794#M546695</guid>
      <dc:creator>F._Schubert</dc:creator>
      <dc:date>2011-01-05T22:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting default values</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1669348#M595550</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a similar problem.&amp;nbsp; I would like to set my boolean to its ﻿default value but I want this to happen right before the program stops executing.&amp;nbsp; I have a 5 volt signal being sent to some hardware but I need that 5 volts to return to 0 volts when the program closes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried Felix's suggestion but that resets the default when the program starts to run not at the end.&amp;nbsp; Any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 15:33:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1669348#M595550</guid>
      <dc:creator>theghost</dc:creator>
      <dc:date>2011-08-12T15:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting default values</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1669550#M595592</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/196078"&gt;@theghost&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a similar problem.&amp;nbsp; I would like to set my boolean to its ﻿default value but I want this to happen right before the program stops executing.&amp;nbsp; I have a 5 volt signal being sent to some hardware but I need that 5 volts to return to 0 volts when the program closes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried Felix's suggestion but that resets the default when the program starts to run not at the end.&amp;nbsp; Any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Make sure you call the method at the right time. You are probably calling it in the beginning of your code. If you want to reset before you exit make sure it executes right before you exit.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 17:44:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1669550#M595592</guid>
      <dc:creator>Mark_Yedinak</dc:creator>
      <dc:date>2011-08-12T17:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting default values</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1669612#M595604</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;
&lt;P&gt;Thank you for the suggestion. &amp;nbsp;I thought I could use a flat sequence to make sure the last thing that executed was the rest. &amp;nbsp;After trying this, I realized that it was not the boolean switch that I needed to reset it was the DAQ assistant. &amp;nbsp;I have attached a picture of my code. &amp;nbsp;The 'fire' button tells the DAQ to send a 0 or 5 volt signal. &amp;nbsp;That signal is sent to hardware that controls other things. &amp;nbsp;However after the code finishes I need the DAQ to send a 0 volt signal. &amp;nbsp;Do you have any suggestions on how to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;theghost&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 18:32:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1669612#M595604</guid>
      <dc:creator>theghost</dc:creator>
      <dc:date>2011-08-12T18:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting default values</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1669624#M595609</link>
      <description>&lt;P&gt;Place a singal frame after the wire loop. Wire the boolean value to the frame (you won't actually use that value). Inside the frame send the 0 value to the device.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if you plan on doing more programming you may want to learn how to use the DAQ calls directly and not use the express VIs.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 18:50:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1669624#M595609</guid>
      <dc:creator>Mark_Yedinak</dc:creator>
      <dc:date>2011-08-12T18:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting default values</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1672276#M596224</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you again for your suggestions and help.&amp;nbsp; I reset the DAQ a different way.&amp;nbsp; I replaced the while loop termination condition to a stop button.&amp;nbsp; I then changed the 'fire' button's operation to 'latch when pressed.'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You had mentioned that it would be a good idea to learn the DAQ calls directly instead of using the express VI.&amp;nbsp; Why is this method better and do you know a good place to read about them.&amp;nbsp; I had been using the book LabVIEW 8 Student Edition to teach myself LabVIEW.&amp;nbsp; This book did not go into great detail about the direct calls.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again,&lt;/P&gt;
&lt;P&gt;theghost&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 14:58:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1672276#M596224</guid>
      <dc:creator>theghost</dc:creator>
      <dc:date>2011-08-16T14:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting default values</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1672302#M596232</link>
      <description>&lt;P&gt;I am not a DAQ expert so I can't give you all the of the specifics. However, in general the Express VIs (all of them, not just the DAQ) are there to help people get something working very quickly. They are not intended nor were they designed to be the most efficient and optimal code. If I am not mistaken a good example of this is that in the DAQ Express VIs things getting initialized, opened/closed and started/stopped much more than they need to. If you use the DAQ primitives you have complete control over your application and can really optimize it for performance and efficiency. You can't really do that using Express VIs.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:06:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Resetting-default-values/m-p/1672302#M596232</guid>
      <dc:creator>Mark_Yedinak</dc:creator>
      <dc:date>2011-08-16T15:06:45Z</dc:date>
    </item>
  </channel>
</rss>

