<?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: Initialize 1D array with prespecified values in LabVIEW Communications System Design Suite</title>
    <link>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3248715#M331</link>
    <description>&lt;P&gt;Hello Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sorry. We can't announce any information with regards to the release, but as soon as it goes live look for a post like this:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ni.com/t5/LabVIEW-Communications-System/LabVIEW-Communications-1-1-is-LIVE/td-p/3193584" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW-Communications-System/LabVIEW-Communications-1-1-is-LIVE/td-p/3193584&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2016 20:05:29 GMT</pubDate>
    <dc:creator>tcap</dc:creator>
    <dc:date>2016-02-04T20:05:29Z</dc:date>
    <item>
      <title>Initialize 1D array with prespecified values</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3246872#M318</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am pretty new to the comm suite, but I'm having a (probably rather simple) question about initializing an 1D array constant. Let's assume that I want to create an 1D array constant of size M and that I want to initialize it with certain prespecified values. Is there an easy/efficient way to do this? Initializing it one by one is rather cumbersome, especially for large M. Also, how can I initialize such a constant on an FPGA Traget?&lt;/P&gt;&lt;P&gt;I have seen that e.g. for multirate VIs it is possible to define a stream constant and initilize it with a .cvs file. Is there a similar possibility for initializing a 1D array constant?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;steve0&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 10:35:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3246872#M318</guid>
      <dc:creator>steve0</dc:creator>
      <dc:date>2016-02-02T10:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize 1D array with prespecified values</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3247369#M319</link>
      <description>&lt;P&gt;Hi Steve0,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've found a quick and dirty workaround for this, as there is not a clear method to implement an arbitrarily large array constant. You can generate an array however you'd prefer, my example is seen below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/b010dbddacc2c7f9bac3218841c581281aceb2e7/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31373738353769453932384233453133424545383233452f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="LabVIEW Comms Array.png" title="LabVIEW Comms Array.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then go to the Front Panel, right click on the indicator, and select "Capture Data". From there, that array will be available on your Data panel to drop as a constant to other VI's in that project.&amp;nbsp;You can also do the same with a CSV&amp;nbsp;file, by writing your CSV file to an indicator, and then capturing the data to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BeenCoughin&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 00:14:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3247369#M319</guid>
      <dc:creator>Ben_Co</dc:creator>
      <dc:date>2016-02-03T00:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize 1D array with prespecified values</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3247772#M322</link>
      <description>&lt;P&gt;steve0,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As BeenCoughlin mentioned, the best way to do this is to write a VI that reads your CSV file and populates an indicator. You can then convert that indicator to a constant, or use the capture mechanism to store that data in the data window (and then drop it as a constant).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the next version we are planning to support importing the data from directly from a&amp;nbsp;CSV file into the data window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gerardo&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 17:00:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3247772#M322</guid>
      <dc:creator>GerardoG</dc:creator>
      <dc:date>2016-02-03T17:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize 1D array with prespecified values</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3248184#M327</link>
      <description>&lt;P&gt;Hey &lt;SPAN class="UserName lia-user-name lia-user-rank-Member"&gt;&lt;A href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/327972" target="_self"&gt;&lt;SPAN class=""&gt;BeenCoughin&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt; and &lt;SPAN class="UserName lia-user-name lia-user-rank-Member"&gt;&lt;A href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/6612" target="_self"&gt;&lt;SPAN class=""&gt;GerardoG,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Member"&gt;&lt;SPAN class=""&gt;thank you very very much for your suggestions! For the solution I took the suggestion to write an VI that reads a CSV/TXT file and poplutes an indictor. Then I use captue and drop it as a constant. It works allthough changing the values of the vector would still need a manual manipulation of the constant. The possibility of dirctly importing data from a CSV file into a data window thus would really come in quite handy. Do you know when the new version is planned to be released?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Member"&gt;&lt;SPAN class=""&gt;Cheers,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Member"&gt;&lt;SPAN class=""&gt;steve0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 08:48:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3248184#M327</guid>
      <dc:creator>steve0</dc:creator>
      <dc:date>2016-02-04T08:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize 1D array with prespecified values</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3248715#M331</link>
      <description>&lt;P&gt;Hello Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sorry. We can't announce any information with regards to the release, but as soon as it goes live look for a post like this:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ni.com/t5/LabVIEW-Communications-System/LabVIEW-Communications-1-1-is-LIVE/td-p/3193584" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW-Communications-System/LabVIEW-Communications-1-1-is-LIVE/td-p/3193584&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:05:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Communications-System/Initialize-1D-array-with-prespecified-values/m-p/3248715#M331</guid>
      <dc:creator>tcap</dc:creator>
      <dc:date>2016-02-04T20:05:29Z</dc:date>
    </item>
  </channel>
</rss>

