<?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: Search point in waveform in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775198#M354792</link>
    <description>There is a wiring error in the example I posted. The "reference levels" cluster is wired to the wrong input terminal on the VI. It just so happens, though that in this case it doesn't affect the results. I tried it using a square wave between -18 and 5 with about 46 pulses in 3 seconds and it seemed to work just fine. Can you upload your data?</description>
    <pubDate>Wed, 10 Sep 2008 18:21:43 GMT</pubDate>
    <dc:creator>smercurio_fc</dc:creator>
    <dc:date>2008-09-10T18:21:43Z</dc:date>
    <item>
      <title>Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/774232#M354424</link>
      <description>&lt;P&gt;I have 2 signals (square and sine) in same time range, I need get a trigger point in sine wave (i did it with Basic Trigger Level VI) and I need now search the last falling point in square wave before of sinewave trigger point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logic Steps:&lt;/P&gt;&lt;P&gt;1- Search trigger point index in sine wave;(i did it)&lt;/P&gt;&lt;P&gt;2- Go back in index until find the first (or last if look since start index - index 0)fall edge in square wave. How i do it? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Figure in attach &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2008 14:16:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/774232#M354424</guid>
      <dc:creator>leocavadas</dc:creator>
      <dc:date>2008-09-09T14:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/774243#M354430</link>
      <description>I would suggest using the Transition Measurements VI (Signal Processing -&amp;gt; Wfm Measure) to get your fall times. Then it's a simple matter of finding which array element is the first that's less than your trigger point.</description>
      <pubDate>Tue, 09 Sep 2008 14:26:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/774243#M354430</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-09-09T14:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/774444#M354505</link>
      <description>&lt;P&gt;How I get all fall times? the Transition Measurements return only to 1 cycle (1rs, 2rs, 3rs...), dont return index, dont return fall times array....I dont understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx for help. &lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2008 18:16:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/774444#M354505</guid>
      <dc:creator>leocavadas</dc:creator>
      <dc:date>2008-09-09T18:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/774451#M354509</link>
      <description>&lt;P&gt;Just use a loop. When the start time and end times are the same (i.e., zero) you've reached the end. &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://ni.lithium.com/i/smilies/16x16_smiley-wink.gif" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="http://forums.ni.com/ni/attachments/ni/170/354509/1/Example_VI_BD.png" border="0" /&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by smercurio_fc on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 09-09-2008&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 01:27 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Sep 2008 18:27:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/774451#M354509</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-09-09T18:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775153#M354772</link>
      <description>&lt;P&gt;Your Help is great, but i have a problem yet...my START and END TIMES in measurement info always show me 3,3E9....don't interest if i put first, second or other EDGE number or other sample wave...always give me result like START TIME = 3,3E9 and END TIME = 3,3E9. What did I wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a square wave with aproximated -18 and 5 (low and high lvl) and 48 transitions in 3 seconds sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example Pulse and Transtitions Measurements.VI work fine, i ran it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx for help again... &lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2008 17:36:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775153#M354772</guid>
      <dc:creator>leocavadas</dc:creator>
      <dc:date>2008-09-10T17:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775198#M354792</link>
      <description>There is a wiring error in the example I posted. The "reference levels" cluster is wired to the wrong input terminal on the VI. It just so happens, though that in this case it doesn't affect the results. I tried it using a square wave between -18 and 5 with about 46 pulses in 3 seconds and it seemed to work just fine. Can you upload your data?</description>
      <pubDate>Wed, 10 Sep 2008 18:21:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775198#M354792</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-09-10T18:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775230#M354806</link>
      <description>Data in attached....thx</description>
      <pubDate>Wed, 10 Sep 2008 18:58:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775230#M354806</guid>
      <dc:creator>leocavadas</dc:creator>
      <dc:date>2008-09-10T18:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775266#M354832</link>
      <description>Unfortunately, you did not save the waveform control with the actual data. Rerun the parent VI so the control is populated. Note: make sure this subVI's front panel is open. Then right-click on the waveform control and select Data Operations -&amp;gt; Make Current Value Default. Then save the VI and upload it again. &lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by smercurio_fc on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 09-10-2008&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 03:06 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Sep 2008 20:06:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775266#M354832</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-09-10T20:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775602#M354983</link>
      <description>I'm sorry....Data saved in attach</description>
      <pubDate>Thu, 11 Sep 2008 11:12:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775602#M354983</guid>
      <dc:creator>leocavadas</dc:creator>
      <dc:date>2008-09-11T11:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775784#M355054</link>
      <description>Hmmm... That's quite peculiar. Off-hand I don't see anything particularly odd about your waveform, so I don't see why that function would not work. I'll need to look at this in more detail...</description>
      <pubDate>Thu, 11 Sep 2008 14:45:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775784#M355054</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-09-11T14:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Search point in waveform</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775888#M355097</link>
      <description>&lt;P&gt;OK. Found the problem. I had not noticed this at first, but your waveform had a starting time. The way the Transition Measurements function works is that it adds t0 to the values it calculates as the falling edge starting time and ending time. The problem is that it converts the timestamp to a DBL, and this DBL is a very large number. Hence the huge numbers that you're seeing. If you just set t0 to zero you will get the right values:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forums.ni.com/ni/attachments/ni/170/355097/1/Data_BD.png" border="0" /&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by smercurio_fc on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 09-11-2008&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 11:14 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Sep 2008 16:14:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Search-point-in-waveform/m-p/775888#M355097</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-09-11T16:14:09Z</dc:date>
    </item>
  </channel>
</rss>

