<?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: Problems deploying an app using a loader in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/281172#M148564</link>
    <description>&lt;P&gt;The answer to your question really depends on how you are opening this INI file. Are you giving LabVIEW an absolute file path to the INI file or a relative file path with respect to&amp;nbsp;a VI? If you are using a relative file path, then recall that building a VI into an executable adds an additional branch to the file path -- instead of ...\myapp.vi, the file path to the VI becomes ...\myapp.exe\myapp.vi. If you are using an absolute file path, then this will obviously only work when the file is located in that exact location.&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2005 20:24:27 GMT</pubDate>
    <dc:creator>AESulzer</dc:creator>
    <dc:date>2005-10-24T20:24:27Z</dc:date>
    <item>
      <title>Problems deploying an app using a loader</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/280437#M148266</link>
      <description>&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;I have been
trying to use the loader method described in several posts to run an
application. &lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;Our development directory structure
consists of many subdirectories (eg. common, utility, dll) and this app. has many
vi’s interspersed within all these directories.&lt;SPAN style=""&gt;&amp;nbsp;
&lt;/SPAN&gt;This app has about 80 sub-vi’s and a couple of vendor dll’s that it
runs. &lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;I save the app as an “Application
Distribution”.&lt;SPAN style=""&gt;&amp;nbsp; &lt;/SPAN&gt;In the loader I pass the
complete path to the main VI within the llb. &lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;When I create the loader executable I also
define the main VI as the top level vi from within the llb. &lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;The loader executable that is created runs
fine from within the original directory but once I move it to the root
directory it does not work.&lt;SPAN style=""&gt;&amp;nbsp; &lt;/SPAN&gt;It comes
back with a “Error 7 Occurred at Open File+.vi: Open File”. &lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;At this point it was trying to open an INI
file. &lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;My questions: 1) Should I pass the
path of the llb to the loader instead of the main vi? 2) What can I do to
either the loader or vi to be able to run the loader from any directory other
than where my main vi resides? 3) Where should I place my INI file so that I do
not get the Error 7?&lt;SPAN style=""&gt;&amp;nbsp; &lt;/SPAN&gt;Any help would be
appreciated.&lt;SPAN style=""&gt;&amp;nbsp; &lt;/SPAN&gt;Thank you.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Oct 2005 20:06:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/280437#M148266</guid>
      <dc:creator>san26141</dc:creator>
      <dc:date>2005-10-21T20:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems deploying an app using a loader</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/281172#M148564</link>
      <description>&lt;P&gt;The answer to your question really depends on how you are opening this INI file. Are you giving LabVIEW an absolute file path to the INI file or a relative file path with respect to&amp;nbsp;a VI? If you are using a relative file path, then recall that building a VI into an executable adds an additional branch to the file path -- instead of ...\myapp.vi, the file path to the VI becomes ...\myapp.exe\myapp.vi. If you are using an absolute file path, then this will obviously only work when the file is located in that exact location.&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2005 20:24:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/281172#M148564</guid>
      <dc:creator>AESulzer</dc:creator>
      <dc:date>2005-10-24T20:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems deploying an app using a loader</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/281177#M148567</link>
      <description>I am using a relative path...but does this matter if the only
executable is the loader?&amp;nbsp; In method #1 the loader is calling
main.vi from the app development directory sturcture and in method #2
the loader is calling main.vi from within main.llb.&amp;nbsp; &lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Oct 2005 20:44:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/281177#M148567</guid>
      <dc:creator>san26141</dc:creator>
      <dc:date>2005-10-24T20:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problems deploying an app using a loader</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/281667#M148736</link>
      <description>LLBs have the same file path behavior as executables. The file path of your VI in case1 will be ...\main.vi, whereas the file path of your VI in case 2 will be ...\main.llb\main.vi. Are you accounting for this difference in your relative path?
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Oct 2005 19:35:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Problems-deploying-an-app-using-a-loader/m-p/281667#M148736</guid>
      <dc:creator>AESulzer</dc:creator>
      <dc:date>2005-10-25T19:35:52Z</dc:date>
    </item>
  </channel>
</rss>

