<?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: record and display data in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041943#M463567</link>
    <description>&lt;P&gt;It works pretty good, but what about doing it with and event structure?&lt;/P&gt;&lt;P&gt;I try a couple things like creating and event for when the reminder is zero but that didn't work. &lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2009 18:58:45 GMT</pubDate>
    <dc:creator>Roddy</dc:creator>
    <dc:date>2009-12-17T18:58:45Z</dc:date>
    <item>
      <title>record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041324#M463291</link>
      <description>&lt;P&gt;What I would like to do is: display a data point every 1 sec but record the a data point every 10 sec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been playing with the event case and loops to achive these but no mather what I get one or the other; I either record and display every sec or every 10 sec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks... &lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2009 22:43:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041324#M463291</guid>
      <dc:creator>Roddy</dc:creator>
      <dc:date>2009-12-16T22:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041325#M463292</link>
      <description>I assume you have a loop cycling every sec to display the points.&amp;nbsp; Wire the iteration number to the integer and quotient function and divide by 10.&amp;nbsp; Wire the remainder to a case structure.&amp;nbsp; In the zero case, log your data, in the default case do nothing.</description>
      <pubDate>Wed, 16 Dec 2009 22:48:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041325#M463292</guid>
      <dc:creator>Darin.K</dc:creator>
      <dc:date>2009-12-16T22:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041326#M463293</link>
      <description>you can use the Elapsed time.vi</description>
      <pubDate>Wed, 16 Dec 2009 22:48:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041326#M463293</guid>
      <dc:creator>Harold_Timmis</dc:creator>
      <dc:date>2009-12-16T22:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041350#M463296</link>
      <description>an example of Darin's:</description>
      <pubDate>Wed, 16 Dec 2009 23:28:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041350#M463296</guid>
      <dc:creator>Harold_Timmis</dc:creator>
      <dc:date>2009-12-16T23:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041943#M463567</link>
      <description>&lt;P&gt;It works pretty good, but what about doing it with and event structure?&lt;/P&gt;&lt;P&gt;I try a couple things like creating and event for when the reminder is zero but that didn't work. &lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2009 18:58:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1041943#M463567</guid>
      <dc:creator>Roddy</dc:creator>
      <dc:date>2009-12-17T18:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042006#M463601</link>
      <description>&lt;P&gt;Assuming you have a timeout case in your event structure, you can check the status of the remainder every iteration. Make a value change event case for a boolean, and whenever your remainder equals 0, just set the boolean's value using value signaling to generate the value change event.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2009 20:32:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042006#M463601</guid>
      <dc:creator>CAC10268</dc:creator>
      <dc:date>2009-12-17T20:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042140#M463651</link>
      <description>I actually did that but I can not get the data to record...</description>
      <pubDate>Fri, 18 Dec 2009 01:06:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042140#M463651</guid>
      <dc:creator>Roddy</dc:creator>
      <dc:date>2009-12-18T01:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042191#M463663</link>
      <description>&lt;P&gt;Let me rephrace that... for some reason the event (for boolean value change) doesn't execute.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/288a5c83817bf449eadf8c95ed05fda868474641/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f3834393669463343364137363342414538443738452f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Untitled.png" title="Untitled.png" align="CENTER" /&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG src="file:/C:/Users/Roddy/AppData/Local/Temp/moz-screenshot.png" border="0" /&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="file:/C:/Users/Roddy/AppData/Local/Temp/moz-screenshot-1.png" border="0" /&gt;&lt;IMG src="file:/C:/Users/Roddy/Desktop/Work%20Garbage/try.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2009 05:34:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042191#M463663</guid>
      <dc:creator>Roddy</dc:creator>
      <dc:date>2009-12-18T05:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042242#M463686</link>
      <description>&lt;P&gt;hey roddy..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a question .. Does the VI actually stops when the stop butoon is hit....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I DONT THINK SO....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guru&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2009 08:41:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042242#M463686</guid>
      <dc:creator>Guruthilak</dc:creator>
      <dc:date>2009-12-18T08:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042287#M463696</link>
      <description>&lt;P&gt;Guru,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why doesn't it stop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The timeout is connected with 1000ms so it will stop after 1 sec, doesn't it? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;roddy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's right that the event-structure does not execute if you connect the control directly (as you did).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to connect the control using a property node and its property value (changed).&lt;/P&gt;&lt;P&gt;This will trigger the event-structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Maybe you should use the LabVIEW help. I'm pretty much sure there is an example in it how to programatically trigger event structures)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMHO it's not a smart solution anyways. The idea of a event structure is to capture user events (i.e. the frontpanel activities).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your case it'maybe better to use a timed loop with 1000ms loop time,&amp;nbsp; replace the event-structure with a case-structure, take the Rest from your modulo division and connect "Sine2" inside the case "0" of the case-structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the Rest of your modulo division is != 0 then nothing happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rainer &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Balze on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 12-18-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 03:43 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Dec 2009 09:43:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1042287#M463696</guid>
      <dc:creator>Balze</dc:creator>
      <dc:date>2009-12-18T09:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1043035#M463991</link>
      <description>&lt;P&gt;Hello Rainer, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The stop "button" is directly connected to the the conditional terminal of the while loop and ,when executed, since there are no user events for this stop button, the loop will not stop (since the event structure will keep on waiting for an user event to occur).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actaully i am not sure whether the event structure has been configured for the "stop button value change event" or not becasue i can see only one frame of the event structure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guru&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2009 05:38:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1043035#M463991</guid>
      <dc:creator>Guruthilak</dc:creator>
      <dc:date>2009-12-21T05:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: record and display data</title>
      <link>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1043036#M463992</link>
      <description>The loop &lt;STRONG&gt;will&lt;/STRONG&gt; stop as long as there is a timeout event and there is obviously a timeout event since a timeout value is wired to it. It's not very elegant to do it this way, of course, but a value change event for the stop button is not absolutely required.</description>
      <pubDate>Mon, 21 Dec 2009 05:44:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/record-and-display-data/m-p/1043036#M463992</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2009-12-21T05:44:50Z</dc:date>
    </item>
  </channel>
</rss>

