Once you have created the executables, anyone with LabVIEW or
the Run-Time Engine on those platforms can run them. But
making the VI Connexions-friendly requires a couple of other
small steps.
You must take all of the files created when you built the
executables, as well as the source VI or LLB file, and add
them to this document. The ID of this document is m11601. To
improve the user's experience, we provide only one link for
running the VI. The virunner helper app then reads the file
pointed to by this link, downloads the platform-specific
files, and runs the VI. The file read by virunner is known as
a VI Information File (viinfo file) and is a simple XML file,
which indicates the locations of the necessary files for each
platform. For the Connexions project we prefer that these
files reside in this document you are currently viewing. The
viinfo file should then point to files inside of this
document.
Once the files are all in document m11601, you must create the
viinfo file. The FORMAT file included with the virunner source
describes the format of the viinfo file. You can access the
virunner source via the CVS web interface at http://mountainbunker.org/cgi-bin/viewcvs.cgi/software/virunner/. Here
is a sample viinfo file:
<viinfo>
<binary>
<platform>windows</platform>
<main>
http://cnx.rice.edu/content/m11601/latest/common_distributions.exe
</main>
<subordinate>
http://cnx.rice.edu/content/m11601/latest/lvanlys.dll
</subordinate>
</binary>
<binary>
<platform>linux</platform>
<main>
http://cnx.rice.edu/content/m11601/latest/common_distributions_linux
</main>
<subordinate>
http://cnx.rice.edu/content/m11601/latest/lvanlys.so
</subordinate>
</binary>
<binary>
<platform>solaris</platform>
<main>
http://cnx.rice.edu/content/m11601/latest/common_distributions_solaris
</main>
<subordinate>
http://cnx.rice.edu/content/m11601/latest/lvanlys.so
</subordinate>
</binary>
<source>
<main>
http://cnx.rice.edu/content/m11601/latest/Common_Distributions.vi
</main>
</source>
</viinfo>
You
should also add the viinfo file to this document so that
others can easily use your LabVIEW demonstration in their
documents.