<?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: Packed librairies Dynamic call, Database connection not transfered to Vi in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/4338121#M1271663</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/164896"&gt;@hekdude&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;When I had this problem it was because I lost the reference in a for loop with zero iterations and no shift register.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The best way to learn not to do that is the hard way&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 09:43:28 GMT</pubDate>
    <dc:creator>wiebe@CARYA</dc:creator>
    <dc:date>2023-11-03T09:43:28Z</dc:date>
    <item>
      <title>Packed librairies Dynamic call, Database connection not transfered to Vi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3568653#M998893</link>
      <description>&lt;P&gt;I have an application which&amp;nbsp;dynamic call vi in a packed librairies.&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;VIs called have all the same connector with 10 clusters and an a DataBase connection.&lt;/P&gt;
&lt;P&gt;The data from the cluster are well transfer to the VIs, but not de DataBase connection.&lt;/P&gt;
&lt;P&gt;I received the error: NI_Database_API.lvlib:Conn getData.vi"&amp;lt;ERR&amp;gt;Object 0x9D00000 is not valid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(I'm using Labview 2010)&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 13:15:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3568653#M998893</guid>
      <dc:creator>WengerR</dc:creator>
      <dc:date>2017-01-12T13:15:57Z</dc:date>
    </item>
    <item>
      <title>Re : Packed librairies Dynamic call, Database connection not transfered to Vi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3569103#M999016</link>
      <description>&lt;P&gt;HI WengerR,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you send us the VI ?&lt;/P&gt;
&lt;P&gt;Have you ever successfully logged in to the database ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:34:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3569103#M999016</guid>
      <dc:creator>AllamSamir</dc:creator>
      <dc:date>2017-01-13T08:34:11Z</dc:date>
    </item>
    <item>
      <title>Re : Packed librairies Dynamic call, Database connection not transfered to Vi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3569133#M999029</link>
      <description>&lt;P&gt;The data base connection work fine. If a call directly de vi I have no trouble but when it's packed in a librarie the connection don't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My main vi is very big to be able to send you so I create I litle example vi which reproduce my trouble.&lt;/P&gt;
&lt;P&gt;I have remove the opening of the database so you'll have to add an opening to your own database and chose a request you want to execute.&lt;/P&gt;
&lt;P&gt;The request will be run in the main vi and then in the vi call dynamic.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 09:34:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3569133#M999029</guid>
      <dc:creator>WengerR</dc:creator>
      <dc:date>2017-01-13T09:34:47Z</dc:date>
    </item>
    <item>
      <title>Re : Packed librairies Dynamic call, Database connection not transfered to Vi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3576086#M1001089</link>
      <description>&lt;P&gt;I think my trouble come from the fact when I packed the libraires the database connecton definition is not keep in the right way. it's probably disconnected from definition.&lt;/P&gt;
&lt;P&gt;So My trouble is probably more a trouble with type def.&lt;/P&gt;
&lt;P&gt;But I&amp;nbsp;don't find&amp;nbsp;a solution to my problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 14:28:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3576086#M1001089</guid>
      <dc:creator>WengerR</dc:creator>
      <dc:date>2017-01-30T14:28:19Z</dc:date>
    </item>
    <item>
      <title>Re : Packed librairies Dynamic call, Database connection not transfered to Vi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3576221#M1001142</link>
      <description>&lt;P&gt;I might be wrong, but i think a packed library is a namespace of its own, thus the reference won't work. You'll need to keep track of the ref inside the library through some Open/Close functions.&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 16:33:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3576221#M1001142</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2017-01-30T16:33:50Z</dc:date>
    </item>
    <item>
      <title>Re : Packed librairies Dynamic call, Database connection not transfered to Vi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3576231#M1001144</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/110591"&gt;@Yamaeda&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I might be wrong, but i think a packed library is a namespace of its own, thus the reference won't work. You'll need to keep track of the ref inside the library through some Open/Close functions.&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Either that or the resource (connection) is being cleaned up when the dynamic VI is closed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 16:41:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/3576231#M1001144</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2017-01-30T16:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Packed librairies Dynamic call, Database connection not transfered to Vi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/4338082#M1271650</link>
      <description>&lt;P&gt;When I had this problem it was because I lost the reference in a for loop with zero iterations and no shift register.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 02:58:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/4338082#M1271650</guid>
      <dc:creator>hekdude</dc:creator>
      <dc:date>2023-11-03T02:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Packed librairies Dynamic call, Database connection not transfered to Vi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/4338121#M1271663</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/164896"&gt;@hekdude&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;When I had this problem it was because I lost the reference in a for loop with zero iterations and no shift register.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The best way to learn not to do that is the hard way&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 09:43:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Packed-librairies-Dynamic-call-Database-connection-not/m-p/4338121#M1271663</guid>
      <dc:creator>wiebe@CARYA</dc:creator>
      <dc:date>2023-11-03T09:43:28Z</dc:date>
    </item>
  </channel>
</rss>

