<?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: 9219 current sample conversion to current value from DMA FIFO in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/817144#M371908</link>
    <description>&lt;P&gt;Hi Gaussy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please disregard that last post, I just realized that you were using a cRIO chassis (NI 9072) instead of a cDAQ chassis (NI-9172).&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2008 00:21:27 GMT</pubDate>
    <dc:creator>S_Hong</dc:creator>
    <dc:date>2008-12-02T00:21:27Z</dc:date>
    <item>
      <title>9219 current sample conversion to current value from DMA FIFO</title>
      <link>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/816422#M371620</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sampling two 9219 modules (24-bit universal module) into a I32 FIFO on the FPGA target (9072). I want to convert this sample into a current value for scaling in my host vi. The module reads a +/- 25 mA input 24-bit into a 32-bit memory location. I was originally performing the conversion on the host like so,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. INPUT converted to I32, then to DBL&lt;/P&gt;&lt;P&gt;&amp;nbsp;2. (INPUT* 25)/ ((2^24)/2 - 1)=CURRENT (mA)&lt;/P&gt;&lt;P&gt;3. &amp;nbsp;CURRENT (mA) * SCALE = VALUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My values seem very high. Any help is appreciated. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaussy&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2008 02:18:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/816422#M371620</guid>
      <dc:creator>TheSnark</dc:creator>
      <dc:date>2008-12-01T02:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: 9219 current sample conversion to current value from DMA FIFO</title>
      <link>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/817128#M371903</link>
      <description>&lt;P&gt;Hi Gaussy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a bit confused as to why you would need to scale the current values. The NI 9219 should be able to read in current measurements without the need of any manual conversion as the drivers will take care of this. To&amp;nbsp;find examples on how to do this, you can take a look at some of our shipping examples in the NI Example Finder under the Help menu in LabVIEW. The example I would like to point you to is under Hardware Input and Output » DAQmx » Analog Measurements » Current »&amp;nbsp; Cont Acq 0-20mA Current Samples-Int Clk.vi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if I am misunderstanding your question.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2008 00:03:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/817128#M371903</guid>
      <dc:creator>S_Hong</dc:creator>
      <dc:date>2008-12-02T00:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: 9219 current sample conversion to current value from DMA FIFO</title>
      <link>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/817144#M371908</link>
      <description>&lt;P&gt;Hi Gaussy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please disregard that last post, I just realized that you were using a cRIO chassis (NI 9072) instead of a cDAQ chassis (NI-9172).&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2008 00:21:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/817144#M371908</guid>
      <dc:creator>S_Hong</dc:creator>
      <dc:date>2008-12-02T00:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: 9219 current sample conversion to current value from DMA FIFO</title>
      <link>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/818414#M372415</link>
      <description>&lt;P&gt;Hello Gaussy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for contacting National
Instruments!&amp;nbsp; There were a few questions that I had for you in order to
continue troubleshooting this issue.&amp;nbsp; My first question is what version
of LabVIEW are you using?&amp;nbsp; If you are using LabVIEW 8.5 then do you
mean U32 instead of I32?&amp;nbsp; If you are using LabVIEW 8.6 have you thought
about trying to use Fixed-Point so you do not have to worry about the
conversion?&amp;nbsp; Here is a &lt;A href="http://digital.ni.com/public.nsf/allkb/1ED1B0CC0E7170FF862573620078D44B?OpenDocument" target="_blank"&gt;knowledgebase article&lt;/A&gt; that talks a little bit more about this topic. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;After
looking through your conversion algorithm I did not see any specific
flaws.&amp;nbsp; I was wondering if you could post the values that you are
receiving from the FPGA Target and then the values after your
conversion.&amp;nbsp; Also, it would be good to know what values you are
expecting and why.&amp;nbsp; This will help us determine if the actual signal
from the module is off or if the conversion is incorrect.&amp;nbsp; I hope this
helps!&amp;nbsp; Have a great day!</description>
      <pubDate>Wed, 03 Dec 2008 16:24:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/818414#M372415</guid>
      <dc:creator>NI-Bob</dc:creator>
      <dc:date>2008-12-03T16:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: 9219 current sample conversion to current value from DMA FIFO</title>
      <link>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/820102#M373035</link>
      <description>&lt;P&gt;Hi Bob,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the information. I was originally trying to limit the amount of scaling activities on the FPGA, and perform some of them on the RT target, and on the host computer after transferring the data. After trying both methods, the collection of data in FXP point is the most efficient way to collect it for the 6 channels I am reading.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaussy&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2008 03:20:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/9219-current-sample-conversion-to-current-value-from-DMA-FIFO/m-p/820102#M373035</guid>
      <dc:creator>TheSnark</dc:creator>
      <dc:date>2008-12-06T03:20:08Z</dc:date>
    </item>
  </channel>
</rss>

