<?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: Generate soundcodes in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845298#M830751</link>
    <description>&lt;P&gt;That question doesn't make sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The loop will iterate when everything inside of it is complete, which is primarily the 2 second wait followed by the 1/2 second wait.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no way to get the loop to run at a 1 second rate when the code inside will take 2.5 seconds.&lt;/P&gt;</description>
    <pubDate>Mon, 12 May 2014 13:59:49 GMT</pubDate>
    <dc:creator>RavensFan</dc:creator>
    <dc:date>2014-05-12T13:59:49Z</dc:date>
    <item>
      <title>Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2844476#M830566</link>
      <description>&lt;P&gt;For a schoolproject I'm programming a Compact Rio to control an algae cleaning boat that is autonomous.I want the labview on the compactRio to generate a sound when the battery is almoust empty, the box is full of algae, the boat collided with an object. To hear the difference, their has to be a &lt;U&gt;&lt;STRONG&gt;different morse code&lt;/STRONG&gt;&lt;/U&gt; for each of the cases, and it also can not be on for too long.&amp;nbsp;&lt;BR /&gt;Does anybody know how to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2014 20:34:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2844476#M830566</guid>
      <dc:creator>ruben3000</dc:creator>
      <dc:date>2014-05-11T20:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2844492#M830574</link>
      <description>&lt;P&gt;What part do you not know how to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have a means of detecting the alarm conditions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how to generate Morse Code ..- - ..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how to generate the sound? Does your Compact RIO system have a sound output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how to make a subVI run for a specified time and then stop?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how to ask specific questions which will get you moer helpful answers?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lynn&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2014 21:26:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2844492#M830574</guid>
      <dc:creator>johnsold</dc:creator>
      <dc:date>2014-05-11T21:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2844500#M830577</link>
      <description>&lt;P&gt;I don't know how to generate a morse code, and also don't know how I run a subvi for a period of time on command...&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2014 21:52:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2844500#M830577</guid>
      <dc:creator>ruben3000</dc:creator>
      <dc:date>2014-05-11T21:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2844510#M830578</link>
      <description>&lt;P&gt;Use a lookup table for the Morse code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Read the detailed help file for Elapsed Time.vi. Place the VI inside a loop with a short Wait and stop the loop after the Time has Elapsed? output becomes True.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not used cRIO, so I am not sure what might need to be changed for that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lynn&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2014 22:04:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2844510#M830578</guid>
      <dc:creator>johnsold</dc:creator>
      <dc:date>2014-05-11T22:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845250#M830741</link>
      <description>&lt;P&gt;Thanks for the reply Lynn!&lt;BR /&gt;I now have this. It does the job. For a number of seconds that i set up, the sound goes on and off in the rhythm. But the Elapsedtime from the subvi only counts when every cycle of the flat sequence passed and not every second, in this case every 2.5 seconds.&lt;/P&gt;
&lt;P&gt;Is there a way to get this result without flat sequence?&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/1eaf420ea77a20bc5ca6ad6c8cf51f07a3e201d5/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31343137333069373830314644443143354631344531302f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Knipsellabview.PNG" title="Knipsellabview.PNG" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 13:44:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845250#M830741</guid>
      <dc:creator>ruben3000</dc:creator>
      <dc:date>2014-05-12T13:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845298#M830751</link>
      <description>&lt;P&gt;That question doesn't make sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The loop will iterate when everything inside of it is complete, which is primarily the 2 second wait followed by the 1/2 second wait.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no way to get the loop to run at a 1 second rate when the code inside will take 2.5 seconds.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 13:59:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845298#M830751</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2014-05-12T13:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845314#M830754</link>
      <description>&lt;P&gt;And now i tested it in a while-loop, because it will be running in a big while loop, and it keeps running if the bool keeps being true.&lt;/P&gt;
&lt;P&gt;My goal is that it stops after the amount of time, even if the bool stays on true, in a while loop. And that it can be started again when bool gets false and then true again.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 14:13:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845314#M830754</guid>
      <dc:creator>ruben3000</dc:creator>
      <dc:date>2014-05-12T14:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845336#M830757</link>
      <description>&lt;P&gt;Then you need to turn off the boolean that drives the case structure so it doesn't run again when your big while loop iterates.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 14:32:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845336#M830757</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2014-05-12T14:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Generate soundcodes</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845414#M830767</link>
      <description>&lt;P&gt;This does the job!&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/e3ba25312c1d4e11a50ebf619ef52b3cc31c74cd/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31343137353869344435394531394343354635374543462f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Knipsellabview.PNG" title="Knipsellabview.PNG" width="655" height="481" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 15:12:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Generate-soundcodes/m-p/2845414#M830767</guid>
      <dc:creator>ruben3000</dc:creator>
      <dc:date>2014-05-12T15:12:30Z</dc:date>
    </item>
  </channel>
</rss>

