<?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: array values peoblem in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288813#M961237</link>
    <description>&lt;P&gt;Hi Guy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;I guess I need a loop to check for each frequency but don't know yet how to do so.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Yes, a loop may help. When you don't know how to use loops (and autoindexing) in LabVIEW: take the free beginner courses offered by NI on their website!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;Some of the array values are negetive and some positive but at the end they all have to be the same&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When all values should be the same in the end a simple InitializeArray function may give the same results… (Irony!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;so I need to know for each frequency how much amplification I need.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;amplification := target_value - current_value…&lt;/P&gt;&lt;P&gt;Remember the polymorphism of LabVIEW functions and you will not need a loop anymore…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;At a first glance it seems to me you already &lt;A href="https://ni.lithium.com/t5/LabVIEW/manipilating-data-in-arrays/td-p/3288106" target="_self"&gt;asked the same here&lt;/A&gt; and got answers (and even said "now it's working")…&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2016 20:07:42 GMT</pubDate>
    <dc:creator>GerdW</dc:creator>
    <dc:date>2016-04-28T20:07:42Z</dc:date>
    <item>
      <title>array values peoblem</title>
      <link>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288803#M961230</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an array of power in dbm and I want to know how much amplification I need to add in order to bring the array to be in a specific power value for all frequencies. I guess I need a loop to check for each frequency but don't know yet how to do so. Some of the array values are negetive and some positive but at the end they all have to be the same so I need to know for each frequency how much amplification I need.&lt;/P&gt;&lt;P&gt;TNX&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 19:52:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288803#M961230</guid>
      <dc:creator>GuyGor</dc:creator>
      <dc:date>2016-04-28T19:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: array values peoblem</title>
      <link>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288813#M961237</link>
      <description>&lt;P&gt;Hi Guy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;I guess I need a loop to check for each frequency but don't know yet how to do so.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Yes, a loop may help. When you don't know how to use loops (and autoindexing) in LabVIEW: take the free beginner courses offered by NI on their website!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;Some of the array values are negetive and some positive but at the end they all have to be the same&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When all values should be the same in the end a simple InitializeArray function may give the same results… (Irony!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;so I need to know for each frequency how much amplification I need.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;amplification := target_value - current_value…&lt;/P&gt;&lt;P&gt;Remember the polymorphism of LabVIEW functions and you will not need a loop anymore…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;At a first glance it seems to me you already &lt;A href="https://ni.lithium.com/t5/LabVIEW/manipilating-data-in-arrays/td-p/3288106" target="_self"&gt;asked the same here&lt;/A&gt; and got answers (and even said "now it's working")…&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 20:07:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288813#M961237</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2016-04-28T20:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: array values peoblem</title>
      <link>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288822#M961243</link>
      <description>&lt;P&gt;Target value - current value won't be good if the current value is negetive and for the positive option I still need to take that and to put each value in an array and to supply the correct amplification according to the comparing.&lt;/P&gt;&lt;P&gt;I see I have a lot of Arrays learning to do, so I am strating with the videos now.&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 20:16:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288822#M961243</guid>
      <dc:creator>GuyGor</dc:creator>
      <dc:date>2016-04-28T20:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: array values peoblem</title>
      <link>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288824#M961245</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/340513"&gt;@GuyGor&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Target value - current value won't be good if the current value is negetive&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How do you figure?&amp;nbsp; Subtract a negative value and you have an add by the absolute value.&amp;nbsp; For example: Target = 5 and Current = -10.&amp;nbsp; 5 - (-10) = 15.&amp;nbsp; So you need to amplify by 15dB.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ni.lithium.com/ni/attachments/ni/170/961245/1/Caculate%20Needed%20Gain.png" border="0" alt="" title="" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 20:29:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288824#M961245</guid>
      <dc:creator>crossrulz</dc:creator>
      <dc:date>2016-04-28T20:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: array values peoblem</title>
      <link>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288832#M961246</link>
      <description>&lt;P&gt;Its is not the same question&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 20:35:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288832#M961246</guid>
      <dc:creator>GuyGor</dc:creator>
      <dc:date>2016-04-28T20:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: array values peoblem</title>
      <link>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288835#M961247</link>
      <description>&lt;P&gt;TNX&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 20:37:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/array-values-peoblem/m-p/3288835#M961247</guid>
      <dc:creator>GuyGor</dc:creator>
      <dc:date>2016-04-28T20:37:09Z</dc:date>
    </item>
  </channel>
</rss>

