<?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: Ramp generating using NI 6211 in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736732#M1051663</link>
    <description>&lt;P&gt;Thank you, Jens!&lt;/P&gt;
&lt;P&gt;I have updated my vi and attached a screenshot.&lt;/P&gt;
&lt;P&gt;My current question is: since I want continous ramp, so I have a for loop for it and a waveform vi to observe in the front panel. However, I dont see the ramp continuously going. So how can I make sure that the ramp is continuous instead of being generated only once?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/a447b59f3e39e1c72bb54c7dfd69be1538baec9f/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323033343069313832333742353636334242413141452f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 749px;"&gt;&lt;img src="https://ip1.i.lithium.com/cc78191a3c7d45351a793fa4ac8f170650c0d4bd/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323033343169314235354543313136373830304436322f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jan 2018 19:40:40 GMT</pubDate>
    <dc:creator>Penny001</dc:creator>
    <dc:date>2018-01-01T19:40:40Z</dc:date>
    <item>
      <title>Ramp generating using NI 6211</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736324#M1051497</link>
      <description>&lt;P&gt;I am very new to Labview and I need some help here. Part of my aim is to generate a ramp signal for my scanner.&lt;/P&gt;
&lt;P&gt;I searched the forum and found an answer which is not a bad fit for my aim (attached below). I have two questions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. according to my understanding, the ramp by sample vi does not have anything to do with the infinite or finite samples, only DAQmx timing vi determines that. So if I change the finite samples to continuous samples, theoretically I should get the infinite ramps until I stop it. Is that right?&lt;/P&gt;
&lt;P&gt;2. If I want the ramp (down part) goes down gradually (in this example, the down part is a purely vertical line, which means the voltage will go down from +10 v to 0v very quickly. And this will lead to mechanical problems to my scanner. ) How should I change the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to any suggestion! I appreciate the help in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Penny&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 22:00:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736324#M1051497</guid>
      <dc:creator>Penny001</dc:creator>
      <dc:date>2017-12-28T22:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ramp generating using NI 6211</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736399#M1051522</link>
      <description>&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;I searched the forum and found an answer which is not a bad fit for my aim (attached below). I have two questions:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;1. according to my understanding, the ramp by sample vi does not have anything to do with the infinite or finite samples, only DAQmx timing vi determines that. So if I change the finite samples to continuous samples, theoretically I should get the infinite ramps until I stop it. Is that right?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Yes, the DAQmx timing determines the timing for the output. That is taken from the dt of the waveform. For a continous output you have to change your VI, esp. you'll need a loop where you can stop your output. I suggest that you have a look at the examples in the NI example finder, there should be something for continous analog output there (cannot look up for myself currently as I don't have DAQmx installed).&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;2. If I want the ramp (down part) goes down gradually (in this example, the down part is a purely vertical line, which means the voltage will go down from +10 v to 0v very quickly. And this will lead to mechanical problems to my scanner. ) How should I change the code?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;You could add another down ramp. How to do this? Look up in one of your old threads, you already got that answer...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Regards, Jens&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 11:50:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736399#M1051522</guid>
      <dc:creator>JensG69</dc:creator>
      <dc:date>2017-12-29T11:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ramp generating using NI 6211</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736647#M1051622</link>
      <description>&lt;P&gt;If you look in the Waveform Palette on the Block Diagram, you'll see a series of VIs to generate Analog Waveforms.&amp;nbsp; One of these is a Triangle Wave, with equal Rising and Falling phases.&amp;nbsp; It generates a Continuous Waveform, ideal for driving a Continuous AO DAQ function (you just need one of these connected to your DAQ Write inside your While Loop -- the Generator can be set to "remember where it left off" and generate the next bunch of points in another Waveform).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Sun, 31 Dec 2017 19:22:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736647#M1051622</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2017-12-31T19:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ramp generating using NI 6211</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736729#M1051662</link>
      <description>&lt;P&gt;Thank you， Bob! The problem is the equal rising and falling time is maybe not what I want. So I guess triangle signal may not be ideal in this situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jan 2018 19:33:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736729#M1051662</guid>
      <dc:creator>Penny001</dc:creator>
      <dc:date>2018-01-01T19:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ramp generating using NI 6211</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736732#M1051663</link>
      <description>&lt;P&gt;Thank you, Jens!&lt;/P&gt;
&lt;P&gt;I have updated my vi and attached a screenshot.&lt;/P&gt;
&lt;P&gt;My current question is: since I want continous ramp, so I have a for loop for it and a waveform vi to observe in the front panel. However, I dont see the ramp continuously going. So how can I make sure that the ramp is continuous instead of being generated only once?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/a447b59f3e39e1c72bb54c7dfd69be1538baec9f/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323033343069313832333742353636334242413141452f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 749px;"&gt;&lt;img src="https://ip1.i.lithium.com/cc78191a3c7d45351a793fa4ac8f170650c0d4bd/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323033343169314235354543313136373830304436322f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jan 2018 19:40:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736732#M1051663</guid>
      <dc:creator>Penny001</dc:creator>
      <dc:date>2018-01-01T19:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ramp generating using NI 6211</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736753#M1051673</link>
      <description>&lt;P&gt;Don't confuse your front panel indicators with the behavior of the DAQ device.&amp;nbsp; Your VI only executes once, thus only the buildup of the single triangle wave is shown.&amp;nbsp; But your DAQmx is set for Continuous Samples and wait forever, so the DAQ card should be outputting that waveform over and over again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One problem you have is that the only way to stop the program is to abort the VI and that means the DAQ task clear will never execute.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 02:59:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3736753#M1051673</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2018-01-02T02:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ramp generating using NI 6211</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3738341#M1052195</link>
      <description>&lt;P&gt;Thank you very much for the answer! I used an &lt;SPAN class="st"&gt;oscilloscope&lt;/SPAN&gt; to read the signal I generated. It's continuous ramp!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 17:38:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Ramp-generating-using-NI-6211/m-p/3738341#M1052195</guid>
      <dc:creator>Penny001</dc:creator>
      <dc:date>2018-01-05T17:38:13Z</dc:date>
    </item>
  </channel>
</rss>

