<?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: convert square wave to sinc wave in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192317#M514667</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I assumed it meant that the EKG pulse happened when the square wave was at the high value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;yes, the EKG signals need to be generated when the square waves are generated, simultaneously. We just need to have two graphs (square wave from the pump and the EKG) to show, that they are the same, just different forms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jul 2010 23:30:52 GMT</pubDate>
    <dc:creator>keni</dc:creator>
    <dc:date>2010-07-22T23:30:52Z</dc:date>
    <item>
      <title>convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1187987#M513677</link>
      <description>&lt;P&gt;Can anyone please show me how to convert square wave to sinc wave?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 14:04:38 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1187987#M513677</guid>
      <dc:creator>keni</dc:creator>
      <dc:date>2010-07-20T14:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188189#M513723</link>
      <description>&lt;P&gt;What is generating the square wave?&amp;nbsp; Is it by code or by an external instrument?&amp;nbsp; What will generate the sine wave, code or instrument?&amp;nbsp; What kind of hardware is involved?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 15:37:01 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188189#M513723</guid>
      <dc:creator>tbob</dc:creator>
      <dc:date>2010-07-20T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188213#M513728</link>
      <description>&lt;P&gt;&lt;A rel="nofollow" href="http://en.wikipedia.org/wiki/Sinc_function" target="_self"&gt;Sinc function&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aargh! I hate it when I press the wrong button... Taking the fourier transform of a square wave gives you a sinc function.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 15:56:39 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188213#M513728</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2010-07-20T15:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188217#M513730</link>
      <description>&lt;P&gt;Sine, sinc,&amp;nbsp; OMG,&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://forums.ni.com/i/smilies/16x16_smiley-surprised.gif" alt="Smiley Surprised" title="Smiley Surprised" /&gt;&amp;nbsp; I need glasses.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 15:56:11 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188217#M513730</guid>
      <dc:creator>tbob</dc:creator>
      <dc:date>2010-07-20T15:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188289#M513747</link>
      <description>&lt;P&gt;Thank you guys. I am just using LabView to generate square wave and convert it to the sinc (sync).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any function that will convert pulse into ECG ( Electro Cardio Gram) signal in labview?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 16:38:46 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188289#M513747</guid>
      <dc:creator>keni</dc:creator>
      <dc:date>2010-07-20T16:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188299#M513751</link>
      <description>&lt;P&gt;No, you will have to write your own.&amp;nbsp; Search this forum for ECG.&amp;nbsp; I remember seeing several posts about it.&lt;/P&gt;
&lt;P&gt;Once your code is somewhat written, we can help with problems you might have.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 16:41:50 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188299#M513751</guid>
      <dc:creator>tbob</dc:creator>
      <dc:date>2010-07-20T16:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188349#M513764</link>
      <description>&lt;P&gt;Thank you again. I have been given a simple project of converting square wave to look like ECG signal.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I am thinking is adding sine wave to first 1/4 cycle, adding triangle wave to 2/3 cycle, and adding sine wave to rest 1/4 cycle. Do you think it's possible? How do I go about doing this?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 17:11:01 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188349#M513764</guid>
      <dc:creator>keni</dc:creator>
      <dc:date>2010-07-20T17:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188451#M513785</link>
      <description>&lt;P&gt;While it's possible to do what you're describing, I don't think the results will be all that satisfactory. An ECG signal is a bit more complicated than that. You're probably going to be better off looking (i.e. Google) to see if you can find an ECG waveform simulator/generator.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 18:10:54 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188451#M513785</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2010-07-20T18:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188457#M513786</link>
      <description>&lt;P&gt;Use the wave generator funtions found in palette Signal Processing - Waveform Generation.&amp;nbsp; There are sine and triangle waveform generating functions there.&amp;nbsp; You can set the number of samples and sample rate such that it would generate a partial waveform.&amp;nbsp; Then you use Get Waveform Components to get the Y values, concat the values, then use Build Waveform to build it back to a waveform.&amp;nbsp; You will get a back to back output.&amp;nbsp; In the following example, I used a sine and square wave because a sine and triangle were too close in appearance and you could not readily see the effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/19413iD726E8314777A307/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="19413iD726E8314777A307" title="Example_VI.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As Smercurio says, I don't think this is a very good representation of an EKG signal.&amp;nbsp; That signal has P, QRS, and T waves.&amp;nbsp; There is no sine wave.&amp;nbsp; The waves are like triangle waves, so just put DC waveforms (0 amplitude square wave) ahead of and in between triangle waves for P, QRS, and T, followed by DC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 18:18:10 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188457#M513786</guid>
      <dc:creator>tbob</dc:creator>
      <dc:date>2010-07-20T18:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188541#M513805</link>
      <description>&lt;P&gt;There is an ECG simulator module in the NI Biomedical Starter Kit.&amp;nbsp; You can find more information about this free download by visiting our Biomedical User Group located at &lt;A href="http://decibel.ni.com/content/groups/biomedical-user-group?view=overview" target="_self" rel="nofollow"&gt;www.ni.com/biomedusers&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 19:22:05 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188541#M513805</guid>
      <dc:creator>Steve.J</dc:creator>
      <dc:date>2010-07-20T19:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188813#M513870</link>
      <description>&lt;P&gt;This vi will produce sort of an EKG signal:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/19447iD95F9B7DE08C4B55/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="19447iD95F9B7DE08C4B55" title="EKG_Signal.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 22:12:07 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1188813#M513870</guid>
      <dc:creator>tbob</dc:creator>
      <dc:date>2010-07-20T22:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1189639#M514032</link>
      <description>&lt;P&gt;hello tbob,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thank you for the file, but I couldn't open it. I have 8.6 version. Can you repost the file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sim&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:16:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1189639#M514032</guid>
      <dc:creator>keni</dc:creator>
      <dc:date>2010-07-21T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1190009#M514112</link>
      <description>&lt;P&gt;In 8.6&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 17:23:30 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1190009#M514112</guid>
      <dc:creator>tbob</dc:creator>
      <dc:date>2010-07-21T17:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1191471#M514485</link>
      <description>&lt;P&gt;Thank you tbob&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2010 13:53:36 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1191471#M514485</guid>
      <dc:creator>keni</dc:creator>
      <dc:date>2010-07-22T13:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1191769#M514544</link>
      <description>&lt;P&gt;Hello tbob,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;That is really neat EKG signal. I am fairly new to the LabView. They are using some sort of blood flow pump genrator,which generates pulse ( which is square wave). They are using square wave with 4.65V (amplitude) 0.5 (offset) and 920 ms (cycle) to generate square wave. Your square waves are set to generate dc at the beginning, between and end. I don't know much about filters to filter the high frequencies to change it to dc. Can you guide me what i can do?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2010 16:49:38 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1191769#M514544</guid>
      <dc:creator>keni</dc:creator>
      <dc:date>2010-07-22T16:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1191797#M514550</link>
      <description>&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/156965"&gt;@keni&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Your square waves are set to generate dc at the beginning, between and end.&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The square waves in tbob's example do not generate DC at the beginning, between, or end. They have a DC offset (set to 1).You can change this offset (as well as the offsets of the other waveform pieces) by simply changing the constants wired to the "offset" inputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;
I don't know much about filters to filter the high frequencies to change it to dc. Can you guide me what i can do?&amp;nbsp; 
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This question does not make much sense. What are you trying to filter, and what do you mean by changing it to DC? I don't think you're using the terminology correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. Have you tried the &lt;A href="http://decibel.ni.com/content/docs/DOC-4751" target="_self" rel="nofollow"&gt;NI Biomedical Startup Kit&lt;/A&gt;, as suggested earlier?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2010 17:02:15 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1191797#M514550</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2010-07-22T17:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192017#M514600</link>
      <description>&lt;P&gt;But whenever I try to see the waveform from square generator&amp;nbsp;separately, it just graphs a straight dc line. I don't see any squares (pulses). And whenever I &amp;nbsp;put in my specifications it gives me squares (pulses). Am i doing something wrong? and they (school) won't let me download Biomed kit.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2010 19:29:05 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192017#M514600</guid>
      <dc:creator>keni</dc:creator>
      <dc:date>2010-07-22T19:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192053#M514607</link>
      <description>&lt;P&gt;I have no idea if you're doing something wrong because I have no clue what you're doing. What square generator are you talking about? What specifications are you talking about? The VI that tbob created does not rely on any square wave input. Please provide the code you are creating.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2010 20:00:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192053#M514607</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2010-07-22T20:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192091#M514611</link>
      <description>&lt;P&gt;We are using a blood flow pump simulator, which generates square wave of 920 millseconds per cycle and 4.65 volts pick. These square waves need to be converted to the EKG signal or at least look a like. We got everything set up except the big part, converting square waves to EKG signal.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2010 20:42:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192091#M514611</guid>
      <dc:creator>keni</dc:creator>
      <dc:date>2010-07-22T20:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: convert square wave to sinc wave</title>
      <link>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192123#M514619</link>
      <description>&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/156965"&gt;@keni&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;4.65 volts pick.&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's "peak", not pick. If you remove the for-loop you will get one pulse. This pulse is 240 msec long. You can adjust each of the parameters to set the wavelength duration to match your 920 milliseconds. This is done by adjusting the various parameters, such as the sampling frequency of the number of samples in the clusters. For example, if you change sampling frequency for the cluster that generates the "DC start and end" from 1000 to 500 you double the length of the flat line before and after the pulse, and end up with a pulse that's a total of 500 msec long. It's really not that difficult. Just change one parameter at a time and see what happens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2010 21:10:06 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/convert-square-wave-to-sinc-wave/m-p/1192123#M514619</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2010-07-22T21:10:06Z</dc:date>
    </item>
  </channel>
</rss>

