<?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: Real-time plot with changing acquisition rate in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1082404#M479210</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;At what frequency do you want to collect the data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FLash&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2010 22:49:57 GMT</pubDate>
    <dc:creator>A_Patel</dc:creator>
    <dc:date>2010-03-02T22:49:57Z</dc:date>
    <item>
      <title>Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/751277#M344169</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a simple program that collects current and voltage data from a Keithley sourcemeter, plots it in real-time, and saves the data to a text file. A feature of the program is that the frequency of measurement changes during data collection - high frequency measurement for the first (more interesting) period, and low frequency measurement for the duration of the experiment. The problem I'm having is that I can't get the x-axis to adequately scale to reflect this change in frequency. I'm currently using a waveform chart and an x-scale multiplier tied to 1/frequency. It works for the high frequency period, but bonks the scaling when switching to low frequency. &lt;BR /&gt;&lt;BR /&gt;My understanding is that waveform chart is designed for constant rate acquisition. This is probably the problem. Should I be using the XYgraph function? I collect time data, so should be able to build a {time,current} array and just repeatedly redraw the graph. Can I get the XYgraph to behave like a waveform chart?&lt;BR /&gt;&lt;BR /&gt;Basically, I want to keep a fixed scale on the x-axis, but have the chart know that after a certain time each data point represents a smaller delta-t. Any simple approach I'm overlooking?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Kevin&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jul 2008 20:05:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/751277#M344169</guid>
      <dc:creator>kjemmett</dc:creator>
      <dc:date>2008-07-25T20:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/752286#M344579</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;FONT size="2"&gt;I don't know a simple way to get you exactly where I think you're trying go.&amp;nbsp; There *are* some things you can do, but they each have their own side effects to consider.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;1.&amp;nbsp; To make an XY graph behave somewhat like a chart, you'd need to create a software buffer for the XY data, and then periodically graph it all.&amp;nbsp; This may end up requiring you to do careful memory management, and will also consume extra CPU for the display.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;2. You could wait until the end of acquisition and plot a single XY graph of the full dataset against actual sample time.&amp;nbsp; But I suspect you chose a chart because you need the live feedback while the data collection is in progress, and this method wouldn't give you any.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;3. A combination approach would be to simply chart the live data with an X-axis meaning "sample #".&amp;nbsp;&amp;nbsp; Once the collection is over, *then* draw a single XY graph that includes actual time scale data.&amp;nbsp; This method doesn't give you good X-axis info until the collection is done, but at least you can easily see your Y-axis data in near real time.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;-Kevin P.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2008 19:19:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/752286#M344579</guid>
      <dc:creator>Kevin_Price</dc:creator>
      <dc:date>2008-07-28T19:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1080854#M478619</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I amtaking sensor input signals through NI FPGA cRIO-9004. i am analysing this using wave graph. the problem is i am not getting accurate singal.&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;How to decrease the frequency?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;</description>
      <pubDate>Mon, 01 Mar 2010 08:25:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1080854#M478619</guid>
      <dc:creator>sardarsree</dc:creator>
      <dc:date>2010-03-01T08:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1081458#M478836</link>
      <description>Do you want to decrease your acquisition frequency or how often you plot to the graph? The acquisition rate depends on how fast your I/O loop runs on the FPGA. Are you using a DMA FIFO to send the data to the RT Host or are you passing the data to your PC? Are you displaying the data in a Chart or Graph?</description>
      <pubDate>Mon, 01 Mar 2010 22:03:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1081458#M478836</guid>
      <dc:creator>Anna_K.</dc:creator>
      <dc:date>2010-03-01T22:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1081459#M478837</link>
      <description>You will need to give alot more information about your application and problem</description>
      <pubDate>Mon, 01 Mar 2010 22:04:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1081459#M478837</guid>
      <dc:creator>Anna_K.</dc:creator>
      <dc:date>2010-03-01T22:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1081742#M478926</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#000000"&gt;I am sorry for unsufficient data. Actually&lt;/FONT&gt; &lt;FONT color="#000000"&gt;I want to capture&amp;nbsp; engine crank singal.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt; Through tekronix scope i am getting correct signal. But when i use NI cRIO-9221 module I am not getting clear graph like tekronix scope graph. I attached the both pictures.I want to build scope using labview(NI cRIO-9221). &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;( NOTE: i taken history of wavechart then i attached this into wave graph. bcoz to get cursors.)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2010 08:56:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1081742#M478926</guid>
      <dc:creator>sardarsree</dc:creator>
      <dc:date>2010-03-02T08:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1082404#M479210</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;At what frequency do you want to collect the data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FLash&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2010 22:49:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1082404#M479210</guid>
      <dc:creator>A_Patel</dc:creator>
      <dc:date>2010-03-02T22:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1082512#M479246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;Max frequency is 10khz.&lt;/FONT&gt;&lt;/STRONG&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2010 03:29:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1082512#M479246</guid>
      <dc:creator>sardarsree</dc:creator>
      <dc:date>2010-03-03T03:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1083846#M479752</link>
      <description>&lt;P&gt;We still need more information about your code, how fast is your FPGA loop running? &lt;/P&gt;&lt;P&gt;- are you using a DMA FIFO to pass the data from FPGA to host?&lt;/P&gt;&lt;P&gt;Can you post you code?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2010 15:39:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1083846#M479752</guid>
      <dc:creator>Anna_K.</dc:creator>
      <dc:date>2010-03-04T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1085526#M480412</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt; &amp;nbsp; Sorry For the delay. I attached my project setup image. and also i attached my program.&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2010 04:12:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1085526#M480412</guid>
      <dc:creator>sardarsree</dc:creator>
      <dc:date>2010-03-08T04:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1085639#M480456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sorry. i forgot to attach my project setup. I attached that setup pic here.&amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2010 09:11:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1085639#M480456</guid>
      <dc:creator>sardarsree</dc:creator>
      <dc:date>2010-03-08T09:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1086328#M480726</link>
      <description>It appears you don’t have any VI under your cRIO controller.&amp;nbsp; You can’t just go directly from your FPGA to the development computer.&amp;nbsp; You need to go through the controller.&amp;nbsp; The FPGA talked to the controller, then the controller talks to the PC.&amp;nbsp; Therefore you will need to setup this communication as well.&lt;BR /&gt;&lt;BR /&gt;I would suggest looking at the FPGA Tutorial linked below for additional help.&lt;BR /&gt;&lt;BR /&gt;NI Developer Zone: FPGA Design, Development and Programming Tutorial&lt;BR /&gt;&lt;A href="http://zone.ni.com/devzone/cda/tut/p/id/3358" target="_self"&gt;http://zone.ni.com/devzone/cda/tut/p/id/3358&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Mar 2010 22:57:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1086328#M480726</guid>
      <dc:creator>George_P_Burdell</dc:creator>
      <dc:date>2010-03-08T22:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1086454#M480767</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993300"&gt;Hi, &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993300"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993300"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you so much. Please tell what modules i need to add in the fpga VI. For my application &amp;nbsp;I&amp;nbsp;have &amp;nbsp;to take&amp;nbsp; the&amp;nbsp;wave form signal from NI-9221.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2010 04:57:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1086454#M480767</guid>
      <dc:creator>sardarsree</dc:creator>
      <dc:date>2010-03-09T04:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1087181#M481078</link>
      <description>I would suggest looking at some of the shipping examples for an idea of how a cRIO project should be set up.&amp;nbsp; You can access them by going Help&amp;gt;&amp;gt;Find Examples from within the LabVIEW environment.&amp;nbsp; My suggestion for one to get started with is under Hardware Input and Output&amp;gt;&amp;gt;CompactRIO&amp;gt;&amp;gt;Basic IO&amp;gt;&amp;gt;Analog Input – cRIO.lvproj.&amp;nbsp; Take a look at this example and see where everything is.&amp;nbsp; From there you can translate this into your project.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2010 21:34:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1087181#M481078</guid>
      <dc:creator>George_P_Burdell</dc:creator>
      <dc:date>2010-03-09T21:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1105326#M488487</link>
      <description>&lt;P&gt;sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;

    Just tell me. Is it possible to take graph&amp;nbsp; for 120khz singnal (the signal is speed of wheel with 6000rpm)with NI-cRI 9221.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you &lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2010 08:41:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1105326#M488487</guid>
      <dc:creator>sardarsree</dc:creator>
      <dc:date>2010-04-06T08:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time plot with changing acquisition rate</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1105938#M488729</link>
      <description>Is your 120khz signal from an encoder?&amp;nbsp; Most encoders generate a digital PWM signal that can be read with a counter.&amp;nbsp; The NI 9221 is an analog input module that cannot read digital signals or give you access to the counters.&amp;nbsp; I believe you would have more success with a NI 9401 or NI 9402 which are our digital modules.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;NI 9221&lt;BR /&gt;&lt;A href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/14590" target="_self"&gt;http://sine.ni.com/nips/cds/view/p/lang/en/nid/14590&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;NI 9401&lt;BR /&gt;&lt;A href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/201849" target="_self"&gt;http://sine.ni.com/nips/cds/view/p/lang/en/nid/201849&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;NI 9402&lt;BR /&gt;&lt;A href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/204678" target="_self"&gt;http://sine.ni.com/nips/cds/view/p/lang/en/nid/204678&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Apr 2010 21:16:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Real-time-plot-with-changing-acquisition-rate/m-p/1105938#M488729</guid>
      <dc:creator>George_P_Burdell</dc:creator>
      <dc:date>2010-04-06T21:16:21Z</dc:date>
    </item>
  </channel>
</rss>

