<?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 change a LabVIEW array outside LabVIEW and keep updated in LabVIEW in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/change-a-LabVIEW-array-outside-LabVIEW-and-keep-updated-in/m-p/136361#M81908</link>
    <description>change a LabVIEW array outside LabVIEW and keep updated in LabVIEW&lt;BR /&gt;&lt;BR /&gt;hi,&lt;BR /&gt;&lt;BR /&gt;I am Interfacing a FrameGrabber with LabVIEW using a frame grabber&lt;BR /&gt;SDK(dll).&lt;BR /&gt;&lt;BR /&gt;The memory managment of this FG allow you to allocate your own Array&lt;BR /&gt;and to give a pointer to this Array to the memory manager.&lt;BR /&gt;Then when you acquire with the frame grabber, the acquired image will&lt;BR /&gt;be directly accessible in your array.&lt;BR /&gt;&lt;BR /&gt;1.I give to the FG memory manager a pointer to the Labview array&lt;BR /&gt;through a SDK Dll function.&lt;BR /&gt;2. I run the acquisition&lt;BR /&gt;3. I display the array &lt;BR /&gt;&lt;BR /&gt;My problem is that the Array is allways displayed with it initial&lt;BR /&gt;value. I'am sure that the Array is changed outside LabVIEW.&lt;BR /&gt;&lt;BR /&gt;maybe labVIEW don't reload the value because the Array i&lt;BR /&gt;s changed&lt;BR /&gt;directly in memory by the SDK.&lt;BR /&gt;&lt;BR /&gt;Is there a way to force LabVIEW to relod the "true" value from memory&lt;BR /&gt;&lt;BR /&gt;thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Sebastien &lt;BR /&gt;</description>
    <pubDate>Fri, 04 Jun 2004 13:07:12 GMT</pubDate>
    <dc:creator>seb</dc:creator>
    <dc:date>2004-06-04T13:07:12Z</dc:date>
    <item>
      <title>change a LabVIEW array outside LabVIEW and keep updated in LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabVIEW/change-a-LabVIEW-array-outside-LabVIEW-and-keep-updated-in/m-p/136361#M81908</link>
      <description>change a LabVIEW array outside LabVIEW and keep updated in LabVIEW&lt;BR /&gt;&lt;BR /&gt;hi,&lt;BR /&gt;&lt;BR /&gt;I am Interfacing a FrameGrabber with LabVIEW using a frame grabber&lt;BR /&gt;SDK(dll).&lt;BR /&gt;&lt;BR /&gt;The memory managment of this FG allow you to allocate your own Array&lt;BR /&gt;and to give a pointer to this Array to the memory manager.&lt;BR /&gt;Then when you acquire with the frame grabber, the acquired image will&lt;BR /&gt;be directly accessible in your array.&lt;BR /&gt;&lt;BR /&gt;1.I give to the FG memory manager a pointer to the Labview array&lt;BR /&gt;through a SDK Dll function.&lt;BR /&gt;2. I run the acquisition&lt;BR /&gt;3. I display the array &lt;BR /&gt;&lt;BR /&gt;My problem is that the Array is allways displayed with it initial&lt;BR /&gt;value. I'am sure that the Array is changed outside LabVIEW.&lt;BR /&gt;&lt;BR /&gt;maybe labVIEW don't reload the value because the Array i&lt;BR /&gt;s changed&lt;BR /&gt;directly in memory by the SDK.&lt;BR /&gt;&lt;BR /&gt;Is there a way to force LabVIEW to relod the "true" value from memory&lt;BR /&gt;&lt;BR /&gt;thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Sebastien &lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2004 13:07:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/change-a-LabVIEW-array-outside-LabVIEW-and-keep-updated-in/m-p/136361#M81908</guid>
      <dc:creator>seb</dc:creator>
      <dc:date>2004-06-04T13:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: change a LabVIEW array outside LabVIEW and keep updated in LabVIEW</title>
      <link>https://ni.lithium.com/t5/LabVIEW/change-a-LabVIEW-array-outside-LabVIEW-and-keep-updated-in/m-p/136362#M81909</link>
      <description>seb wrote:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The memory managment of this FG allow you to allocate your own Array&lt;BR /&gt;&amp;gt; and to give a pointer to this Array to the memory manager.&lt;BR /&gt;&amp;gt; Then when you acquire with the frame grabber, the acquired image will&lt;BR /&gt;&amp;gt; be directly accessible in your array.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; 1.I give to the FG memory manager a pointer to the Labview array&lt;BR /&gt;&amp;gt; through a SDK Dll function.&lt;BR /&gt;&amp;gt; 2. I run the acquisition&lt;BR /&gt;&amp;gt; 3. I display the array &lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; My problem is that the Array is allways displayed with it initial&lt;BR /&gt;&amp;gt; value. I'am sure that the Array is changed outside LabVIEW.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; maybe labVIEW don't reload the value because the Array is changed&lt;BR /&gt;&amp;gt; directly in memory by the SDK.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Is there a way to force LabVIEW to relod the "true" value from memory&lt;BR /&gt;&lt;BR /&gt;Not really. LabVIEW is dataflow. You will have to actu&lt;BR /&gt;ally call the &lt;BR /&gt;frame grabber with the pointer repetitively and pass it again and again &lt;BR /&gt;to the  Control in which you display the image. Look at how the NI-IMAQ &lt;BR /&gt;VIs do it. They also use this approach.&lt;BR /&gt;&lt;BR /&gt;Anything else would require access to LabVIEW internas we normal users &lt;BR /&gt;don't have and would break with every new LabVIEW version.&lt;BR /&gt;&lt;BR /&gt;The operation you want to do has many problems too, besides of not &lt;BR /&gt;fitting well in most high level programming environments. If you write &lt;BR /&gt;your application in C you could deal with these issues through video &lt;BR /&gt;overlay buffers but Visual Basic, LabVIEW and many others won't work so &lt;BR /&gt;simply.&lt;BR /&gt;&lt;BR /&gt;Also you would get unavoidable artefacts of the device driver updating &lt;BR /&gt;parts of the image while LabVIEW accesses it to blast to the screen.&lt;BR /&gt;&lt;BR /&gt;Rolf Kalbermatter &lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2004 14:07:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/change-a-LabVIEW-array-outside-LabVIEW-and-keep-updated-in/m-p/136362#M81909</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2004-06-04T14:07:26Z</dc:date>
    </item>
  </channel>
</rss>

