<?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: Input and Output State in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348421#M1275813</link>
    <description>&lt;DIV id="tinyMceEditorChris9823Alb_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_6" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_7" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_8" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_9" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-11 111201.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/327113iD8B808F41D1938EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-11 111201.png" alt="Screenshot 2024-01-11 111201.png" /&gt;&lt;/span&gt; I mean this button near pause , and how&amp;nbsp; can I make my outputs restart when occur error or press this button?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2024 14:14:24 GMT</pubDate>
    <dc:creator>Chris9823Alb</dc:creator>
    <dc:date>2024-01-11T14:14:24Z</dc:date>
    <item>
      <title>Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348273#M1275740</link>
      <description>&lt;P&gt;I have a doubt about LABview when I stop the program the I/O state still same before I click on stop program run , example I'm controling a servo motor and if I stop the program the servo still spinning , I just want how can reset the I/O status when I press to end the DAQ programm&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 18:36:02 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348273#M1275740</guid>
      <dc:creator>Chris9823Alb</dc:creator>
      <dc:date>2024-01-10T18:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348274#M1275741</link>
      <description>&lt;P&gt;Hi Chris, you will have to share your code for specific suggestions. You can set the state of your DAQ card to whatever you need it to be (example set some outputs to 0 V) as your program is shutting down.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you are not using the abort button (stop sign next to run button) because that is only for emergencies. Your VI should complete its run gracefully e.g. when its task is finished, when a front panel control is pushed, or other stop event is triggered.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 18:48:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348274#M1275741</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2024-01-10T18:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348316#M1275768</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/732095"&gt;@Chris9823Alb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a doubt about LABview when I stop the program the I/O state still same before I click on stop program run , example I'm controling a servo motor and if I stop the program the servo still spinning , I just want how can reset the I/O status when I press to end the DAQ programm&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Just to clarify, LabVIEW is a graphical programming language; the code you implement using LabVIEW, called "Application," is the one that interacts with your hardware. So, in essence, it would be more appropriate to ask how to achieve a proper shutdown on application close.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your program must implement a method to properly power down or stop your external hardware, or else it will be like crashing a car into a tree to stop it; of course, there is the best way, to apply brakes, and again, not in the middle of the highway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 00:38:19 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348316#M1275768</guid>
      <dc:creator>santo_13</dc:creator>
      <dc:date>2024-01-11T00:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348398#M1275797</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris9823Alb_0-1704975286683.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/327110i85BE0EA8A1B83571/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris9823Alb_0-1704975286683.png" alt="Chris9823Alb_0-1704975286683.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is my code , when I click to abort execution or program occur an error the state of I/O ports still same so the motor keep running&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 12:16:42 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348398#M1275797</guid>
      <dc:creator>Chris9823Alb</dc:creator>
      <dc:date>2024-01-11T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348401#M1275800</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/732095"&gt;@Chris9823Alb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;This is my code , when &lt;STRONG&gt;&lt;U&gt;I click to abort execution&lt;/U&gt;&lt;/STRONG&gt; or &lt;STRONG&gt;&lt;U&gt;program occur an error&lt;/U&gt;&lt;/STRONG&gt; the state of I/O ports still same so the motor keep running&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;I don't see any "abort execution" button, I just see a "Stop" button. How do you "abort execution"?&lt;/LI&gt;
&lt;LI&gt;I don't see any error handling in your VI: how do you react on "occuring errors"?&lt;/LI&gt;
&lt;LI&gt;I don't see any code to gracefully shutdown your hardware system: where do you plan to place this code? (As has been suggested before!)&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 11 Jan 2024 12:31:02 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348401#M1275800</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2024-01-11T12:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348421#M1275813</link>
      <description>&lt;DIV id="tinyMceEditorChris9823Alb_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_6" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_7" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_8" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_9" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-11 111201.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/327113iD8B808F41D1938EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-11 111201.png" alt="Screenshot 2024-01-11 111201.png" /&gt;&lt;/span&gt; I mean this button near pause , and how&amp;nbsp; can I make my outputs restart when occur error or press this button?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 14:14:24 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348421#M1275813</guid>
      <dc:creator>Chris9823Alb</dc:creator>
      <dc:date>2024-01-11T14:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348436#M1275821</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/732095"&gt;@Chris9823Alb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_6" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_7" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_8" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_9" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-11 111201.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/327113iD8B808F41D1938EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-11 111201.png" alt="Screenshot 2024-01-11 111201.png" /&gt;&lt;/span&gt; I mean this button near pause , and how&amp;nbsp; can I make my outputs restart when occur error or press this button?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Do NOT use that button.&amp;nbsp; It is only meant as a last-ditch option when things go totally wrong.&amp;nbsp; It is commonly compared to using a tree to stop your car.&amp;nbsp; You cannot do any clean up when you abort the VI.&amp;nbsp; Everything just instantly stops where it was.&amp;nbsp; This is catastrophic when dealing with hardware.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to use your actual stop button on your front panel to gracefully let the loop stop, then set your outputs to "off", and then stopping the DAQmx tasks.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 14:57:15 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348436#M1275821</guid>
      <dc:creator>crossrulz</dc:creator>
      <dc:date>2024-01-11T14:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348440#M1275824</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/732095"&gt;@Chris9823Alb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_6" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_7" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_8" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorChris9823Alb_9" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-11 111201.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/327113iD8B808F41D1938EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-11 111201.png" alt="Screenshot 2024-01-11 111201.png" /&gt;&lt;/span&gt; I mean this button near pause , and how&amp;nbsp; can I make my outputs restart when occur error or press this button?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I assumed you would do that and provided the example of hitting a tree to stop a car instead of properly pulling over and applying brakes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You seem to have a Stop button, use it to stop the program and add a logic such that when the Stop button in True, set the value to Servo to stop it.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 15:00:18 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348440#M1275824</guid>
      <dc:creator>santo_13</dc:creator>
      <dc:date>2024-01-11T15:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348491#M1275851</link>
      <description>&lt;P&gt;Already have a logic with panel stop button , but if the code get an error to abort VI ,how can I avoid keep the servo ON?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 18:41:32 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348491#M1275851</guid>
      <dc:creator>Chris9823Alb</dc:creator>
      <dc:date>2024-01-11T18:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348570#M1275891</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/732095"&gt;@Chris9823Alb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;if the code get an error to abort VI ,how can I avoid keep the servo ON?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As has been said: do all the cleanup stuff after the loop has finished.&lt;/P&gt;
&lt;P&gt;THINK DATAFLOW!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 07:09:45 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348570#M1275891</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2024-01-12T07:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348614#M1275911</link>
      <description>&lt;P&gt;Give an example how can I do this outside of loop because I added value 0 to some ports outside of loop and did same&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 12:14:50 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348614#M1275911</guid>
      <dc:creator>Chris9823Alb</dc:creator>
      <dc:date>2024-01-12T12:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348615#M1275912</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/732095"&gt;@Chris9823Alb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Give an example how can I do this outside of loop because I added value 0 to some ports outside of loop and did same&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You use DATAFLOW to execute code AFTER the loop has finished!&lt;/P&gt;
&lt;P&gt;A simple way to ensure DATAFLOW (aka execution order) is to use the error wire…&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 12:51:31 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348615#M1275912</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2024-01-12T12:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Input and Output State</title>
      <link>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348688#M1275940</link>
      <description>&lt;P&gt;Where is the error line? on stop button loop or 'i' on side of while loop?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 16:36:21 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Input-and-Output-State/m-p/4348688#M1275940</guid>
      <dc:creator>Chris9823Alb</dc:creator>
      <dc:date>2024-01-12T16:36:21Z</dc:date>
    </item>
  </channel>
</rss>

