<?xml version="1.0"?>
<rss version="2.0"><channel><title>Application Builder, Installers and code distribution Latest Topics</title><link>https://lavag.org/forum/16-application-builder-installers-and-code-distribution/</link><description>Application Builder, Installers and code distribution Latest Topics</description><language>en</language><item><title>rtm files not copied when releasing a source distribution?</title><link>https://lavag.org/topic/59196-rtm-files-not-copied-when-releasing-a-source-distribution/</link><description><![CDATA[<p>
	Using <abbr title="LabVIEW">LV</abbr> 2021 SP1, I am trying to release my source code but realized that, in addition to <a href="https://lavag.org/topic/53597-strange-vim-conversion-and-break-down-upon-source-distribution-build/" rel="">the problem described in this thread</a>, I am missing .rtm files that I took great care to move over in their respective libraries (in order that they be included in the release).
</p>

<p>
	They are simply ignored during the source code distribution creation, as they would otherwise show up in the list of files generated during the build (which I am using in the script described in the quoted thread above). Note that it is not possible to see which files of a library are included in the Source Files tab of the source code distribution properties dialog, only that said library (XXX.lvlib) is included.
</p>

<p>
	I suppose a workaround would be to remove this type of files (and other non .vi(m), .ctl, etc, files) from libraries and individually mark them as always included, but that kind of defeats the purpose of using libraries to provide self-contained code and asset packages.
</p>

<p>
	Is that a described feature or a missing one? 
</p>
]]></description><guid isPermaLink="false">59196</guid><pubDate>Fri, 20 Feb 2026 08:57:29 +0000</pubDate></item><item><title>Unable to download certain packages through VIPM</title><link>https://lavag.org/topic/54509-unable-to-download-certain-packages-through-vipm/</link><description><![CDATA[<p>
	Cross-post: <a href="https://forums.vipm.io/topic/11100-unable-to-download-certain-packages-through-vipm" rel="external nofollow">Unable to download certain packages through VIPM - VI Package Manager (VIPM) - VIPM Community</a>
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	Does anyone else have trouble downloading certain packages through VIPM?
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	For example, I'm unable to download<span> </span><a href="https://www.vipm.io/package/drjdpowell_lib_sqlite_labview/" rel="external nofollow" style="background-color:transparent;">SQLite Library 1.16.0</a> because "VIPM could not download the package ... from the remote server."
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	I checked the error details and was able to locate the package on the server: <a href="https://download.ni.com/#evaluation/labview/lvtn/vipm/packages/drjdpowell_lib_sqlite_labview/" rel="external nofollow" style="background-color:transparent;">https://download.ni.com/#evaluation/labview/lvtn/vipm/packages/drjdpowell_lib_sqlite_labview/</a>
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="22375" data-ratio="67.91" width="857" alt="image.png.acd02496197f7870afbe3e7e1fda858d.png" data-src="https://lavag.org/uploads/monthly_2025_03/image.png.acd02496197f7870afbe3e7e1fda858d.png" src="https://lavag.org/applications/core/interface/js/spacer.png" />
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	I tried different versions of VIPM, including 2019 and 2025.1 (build 2772) with no avail.
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	Other packages do not appear to be affected. Can someone confirm?
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	I'm able to download the package directly from the server with no issues so the problem is with VIPM.
</p>
]]></description><guid isPermaLink="false">54509</guid><pubDate>Thu, 06 Mar 2025 17:52:12 +0000</pubDate></item><item><title>LabVIEW 2012 Runtime on Windows 11 - Installation/Compatibility Issues</title><link>https://lavag.org/topic/59191-labview-2012-runtime-on-windows-11-installationcompatibility-issues/</link><description><![CDATA[<p style="margin-left:40px;text-align:center;">
	Hello LabVIEW Community,
</p>

<p style="margin-left:40px;text-align:center;">
	<em>I'm facing challenges running a legacy LabVIEW 2012 SP1 application on Windows 11 and would appreciate guidance.</em>
</p>

<p style="margin-left:40px;text-align:center;">
	<u><strong>Situation:</strong></u>
</p>

<p style="margin-left:40px;text-align:center;">
	Production system: LabVIEW 2012 SP1 program on Windows 7
</p>

<p style="margin-left:40px;text-align:center;">
	Need to evaluate/extend program on Windows 11 development machine
</p>

<p style="margin-left:40px;text-align:center;">
	Have .vi, .ctl, .lvlps files but no deve<a href="https://lavag.org/index.php?app=core&amp;module=system&amp;controller=terms&amp;do=dismiss&amp;ref=aHR0cHM6Ly9sYXZhZy5vcmcvZm9ydW0vMTYtYXBwbGljYXRpb24tYnVpbGRlci1pbnN0YWxsZXJzLWFuZC1jb2RlLWRpc3RyaWJ1dGlvbi8/ZG89YWRk&amp;csrfKey=011de6a761b285b19be9f1ab5cce0648" rel=""><i></i>  I accept</a>lopment license
</p>

<p style="margin-left:40px;text-align:center;">
	Attempted Solutions: ( I assume )
</p>

<p style="margin-left:40px;text-align:center;">
	Installed LabVIEW 2012 SP1 Runtime (patch files available, but installer blocked by Windows 11 security)
</p>

<p style="margin-left:40px;text-align:center;">
	Windows 11 blocks lvrunner.exe installation; only support files install
</p>

<p style="margin-left:40px;text-align:center;">
	.vi files associate with NILVWSPostInstallerScript instead of LabVIEW
</p>

<p style="margin-left:40px;text-align:center;">
	Newer Runtime versions (2022 Q3) blocked by company firewall
</p>

<p style="margin-left:40px;text-align:center;">
	<strong><u>Questions:</u></strong>
</p>

<p style="margin-left:40px;text-align:center;">
	Has anyone successfully run LabVIEW 2012 Runtime on Windows 11?
</p>

<p style="margin-left:40px;text-align:center;">
	Are there workarounds for Windows 11 security blocking older <a href="https://www.ni.com/" rel="external nofollow">NI</a> installers?
</p>

<p style="margin-left:40px;text-align:center;">
	Can LabVIEW 2022+ Runtime open 2012 .vi files in read-only mode?
</p>

<p style="margin-left:40px;text-align:center;">
	Alternative viewers or methods to examine .vi structure without full LabVIEW?<br />
	----------------------------------------------------------------------------------<br />
	<span style="color:#ecf0f1;"><span style="background-color:rgb(21,21,23);font-size:16px;">Any insights would be greatly appreciated.</span></span>
</p>
]]></description><guid isPermaLink="false">59191</guid><pubDate>Mon, 09 Feb 2026 10:00:09 +0000</pubDate></item><item><title>Building source distribution disconnects VIMs from the owning lvlib</title><link>https://lavag.org/topic/56689-building-source-distribution-disconnects-vims-from-the-owning-lvlib/</link><description><![CDATA[<p>
	Hi all, I have a weird problem when building my application.
</p>

<p>
	I have a main application that's compiled into an EXE. This application loads modules during run time.
</p>

<p>
	The modules are built as a source distributions, with the dependencies copied into a common folder (&lt;main app&gt;\support).
</p>

<p>
	The application gets built without an issue, the .EXE works. Once I build a module, the main application breaks, and the reason for it is that few VIMs (and only the VIMs) get disconnected from their .lvlib.
</p>

<p>
	Once I fix these, everything is ok. What can cause this issue?
</p>

<p>
	Thanks.
</p>
]]></description><guid isPermaLink="false">56689</guid><pubDate>Sat, 22 Mar 2025 16:59:07 +0000</pubDate></item><item><title>Seeking Help with Proper Library Design and Using .mnu Files in VIPM</title><link>https://lavag.org/topic/53541-seeking-help-with-proper-library-design-and-using-mnu-files-in-vipm/</link><description><![CDATA[<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	I'm currently working on building a LabVIEW library, and every time I update it, I find myself redoing the entire design process. This includes hiding VIs I don't want the user to see, adding icons, and other design tasks. This has become quite time-consuming, and I believe there must be a more efficient way to manage this.
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	I've read a bit about .mnu files and how they can help organize and manage the appearance of VIs in the LabVIEW palettes, but I'm not entirely sure how to use them effectively. I think using .mnu files might be the solution to my problem, but I'm stuck on how to properly implement them in my library design.
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	Could someone please guide me on how to create and use .mnu files to manage my library's palette structure.
</p>

<p style="background-color:#ffffff;color:#333333;font-size:14px;">
	Thank you in advance for your help!
</p>
]]></description><guid isPermaLink="false">53541</guid><pubDate>Tue, 31 Dec 2024 14:29:17 +0000</pubDate></item><item><title>Application builder no longer generally available</title><link>https://lavag.org/topic/22907-application-builder-no-longer-generally-available/</link><description><![CDATA[<p>
	I have had the Application builder since forever. Up until now it has been sold with an ever lasting license. But installed 2022, and no Application builder. Then <a href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kEw1SAE&amp;l=en-NO" rel="external nofollow">this</a> can be found:
</p>

<p>
	<span style="background-color:#ffffff;color:#333333;font-size:16px;">"You can also purchase Application Builder separately as an add-on to use with LabVIEW Full or Base until the 2021 SP1 version. </span><br style="background-color:#ffffff;color:#333333;font-size:16px;" />
	<span style="background-color:#ffffff;color:#333333;font-size:16px;">Please note that moving forward from LabVIEW 2022 Q3 you can only purchase LabVIEW Application Builder via LabVIEW Professional Development System."</span>
</p>

<p>
	<span style="background-color:rgb(255,255,255);"><font color="#333333"><span style="font-size:16px;">The only way now to build applications is to install the professional version. For a relatively low intensity user as myself, this is out of the question. I have no use for the professional edition, not even full, but the application builder is useful.</span></font></span>
</p>

<p>
	<span style="background-color:rgb(255,255,255);"><font color="#333333"><span style="font-size:16px;">Are there any other way to get around this, other third party builders, or anything?</span></font></span>
</p>

<p>
	 
</p>

<p>
	<span style="background-color:rgb(255,255,255);"><font color="#333333"><span style="font-size:16px;">Thanks</span></font></span>
</p>
]]></description><guid isPermaLink="false">22907</guid><pubDate>Sat, 04 Feb 2023 16:36:17 +0000</pubDate></item><item><title>License an application with expiration date in always offline systems</title><link>https://lavag.org/topic/53404-license-an-application-with-expiration-date-in-always-offline-systems/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I'm looking to license an application that will run exclusively on offline systems. I came across the "Third Party Licensing &amp; Activation Toolkit API" available through JKI VIPM, but from what I understand, it requires an online activation process, which wouldn't work for my use case.
</p>

<p>
	Are there any other libraries or toolkits you’d recommend? I also checked out <em>Build, License, Track</em> from Studio Bods (<a href="https://www.studiobods.com/en/blt/#tabs%7C2" rel="external nofollow"><span>link</span></a>), but I’m not clear on what the free tier offers, or if it's even available.
</p>

<p>
	I realize the irony of asking for a free toolkit to license an application! However, I’m not looking to profit from this. I simply want to protect an application that I need to provide to a potential industrial partner while we finalize our collaboration. Unfortunately, I have to hand over the executable, but I want to ensure the application won’t run indefinitely if the partnership doesn't go through.
</p>

<p>
	Thanks,
</p>

<p>
	Marco.
</p>
]]></description><guid isPermaLink="false">53404</guid><pubDate>Fri, 18 Oct 2024 12:50:19 +0000</pubDate></item><item><title>Creating an installer in LabVIEW 18.0.1f4 (32-Bit) always looks for 2018 SP1 f5 RTE installer source</title><link>https://lavag.org/topic/46904-creating-an-installer-in-labview-1801f4-32-bit-always-looks-for-2018-sp1-f5-rte-installer-source/</link><description><![CDATA[<p>
	I maintain several machines in our factory, all running various versions of LabVIEW executables.  One of the many versions I have installed on my machine is LabVIEW 2018 v18.0.1f4 (32-bit).  
</p>

<p>
	It's been 'many moons' ago, but I remember updating my 2018 runtime to SP1 f5, but I haven't had to build an installer in 2018 since then.
</p>

<p>
	I ran into a situation yesterday where I needed to create an installer in 2018 and left "Automatically select recommended installers" checked, which auto-selects the 2018 SP1 f5 RTE. 
</p>

<p>
	When I select "OK" in "Additional Installers", the "Select Source" dialog appears with a single entry, which is a 2018 application that I had built and installed on my local machine.  Clicking on "OK" prompts for a media path as expected, but I don't have (or can find) and installer for 2018 SP1 f5.  Even pointing it to the installer it's referencing (that I created) gives me an error message stating that the "...media you have provided is a different version of the requested media" (which it isn't).
</p>

<p>
	I ended up giving up on creating an installer in 2018 and recompiled everything in a later version of LabVIEW since I needed to get an update deployed immediately.  However, I am curious whether anyone has any insight into this.  I can't be the only one to have seen it.
</p>

<p>
	<img alt="image.png.a2531966992d7b7e8444e2a585764ada.png" class="ipsImage ipsImage_thumbnailed" data-fileid="21843" data-ratio="80.79" width="786" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_09/image.png.a2531966992d7b7e8444e2a585764ada.png">
</p>
]]></description><guid isPermaLink="false">46904</guid><pubDate>Tue, 10 Sep 2024 11:33:16 +0000</pubDate></item><item><title>How to assign file extension to exe.?</title><link>https://lavag.org/topic/10829-how-to-assign-file-extension-to-exe/</link><description><![CDATA[<p>Hi all,</p>
<p>I managed to follow the instructions found here:</p>
<p><a href="http://digital.ni.com/public.nsf/allkb/9538A36E218F10A4862571A8005EF6C0" rel="external nofollow">http://digital.ni.com/public.nsf/allkb/9538A36E218F10A4862571A8005EF6C0</a></p>
<p>Now when I double-click on my custom file (i.e. file.abc) it opens my application.  From there I can use the command line interface to open the file.</p>
<p>This is fine when my application is closed.  However, I want it to work when my application is running.  My application contains an event structure.  I was told that I could probably doing it by using the DDE server functions.</p>
<p>Would anybody be able to help me to find the relevant information?</p>
<p>Thanks very much.</p>
<p>Battler.</p>
]]></description><guid isPermaLink="false">10829</guid><pubDate>Wed, 19 Aug 2009 00:56:24 +0000</pubDate></item><item><title>installer question, does an installer include all ni drivers or only the drivers for the instruments used</title><link>https://lavag.org/topic/24083-installer-question-does-an-installer-include-all-ni-drivers-or-only-the-drivers-for-the-instruments-used/</link><description><![CDATA[<p>
	My question is that if I build an application and an installer does the installer  include all the Daq drivers?
</p>

<p>
	I am building several applications for the  the Lab I work in and would like to have one generic installer and then have the users just download run the executable. Any time we install anything our IT dept has to get involved . 
</p>

<p>
	Thank you
</p>
]]></description><guid isPermaLink="false">24083</guid><pubDate>Fri, 28 Jun 2024 13:34:23 +0000</pubDate></item><item><title>Build error 13 using LVAddons</title><link>https://lavag.org/topic/23367-build-error-13-using-lvaddons/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I recently installed LabVIEW 2023Q1 and am trying to compile (create an executable of) my company's application, that we can successfully compile with LabVIEW 2019. Unfortunately, at the end of the compilation I get an "error 13" message, just like in this link:
</p>

<p>
	<a href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g34oSAA&amp;l=en-CA" rel="external nofollow">https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g34oSAA&amp;l=en-CA</a>
</p>

<p>
	However, I don't think it applies to me, since this was supposed to be only in LabVIEW 2017, and that my "Use fast file format" is already disabled anyway.
</p>

<p>
	When trying to remove/add back part of my source code, I notice I tend to have problems when I include code that have dependencies inside the new LVAddons folder (C:\Program Files\NI\LVAddons) that NI came up with in LabVIEW 2022Q3 (specifically, xnet and daqmx).
</p>

<p>
	Googling specifically for building errors with LVAddons, I came across this issue reported by JKI:
</p>

<p>
	<a href="https://github.com/vipm-io/vipm-desktop-issues/issues/17" rel="external nofollow">https://github.com/vipm-io/vipm-desktop-issues/issues/17</a>
</p>

<p>
	Since it's related to building a package and not an executable, I'm not sure it's relevant for my situation.
</p>

<p>
	What makes it hard to troubleshoot is that everything looks happy in the lvproj. All dependencies are found in LVAddons instead of C:\Program Files (x86)\National Instruments\LabVIEW 2023\vi.lib, which seems to match NI's intentions. And the error only occurs at the very end of the compilation.
</p>

<p>
	Has anyone encountered this problem while building with either LV2022Q3 or LV2023Q1?
</p>

<p>
	I have installed the latest versions of NI-XNET and NI-DAQx drivers (2023Q2).
</p>

<p>
	The whole error message is as follows:
</p>

<p>
	<span style="color:#bdc3c7;"><em>Error 13 occurred at Invoke Node in AB_Engine_Write_Linker_Wrapper.vi-&gt;AB_Build.lvclass:Copy_Files_Core_Old.vi-&gt;AB_Build.lvclass:Copy_Files.vi-&gt;AB_Application.lvclass:Copy_Files.vi-&gt;AB_EXE.lvclass:Copy_Files.vi-&gt;AB_Build.lvclass:Build.vi-&gt;AB_Application.lvclass:Build.vi-&gt;AB_EXE.lvclass:Build.vi-&gt;AB_Engine_Build.vi-&gt;AB_Build_Invoke.vi-&gt;AB_Build_Invoke.vi.ProxyCaller</em></span>
</p>

<p>
	<span style="color:#bdc3c7;"><em>Possible reason(s):</em></span>
</p>

<p>
	<span style="color:#bdc3c7;"><em>LabVIEW: (Hex 0xD) Failed to load dynamic library because of missing external symbols or dependencies, or because of an invalid file format.<br />
	=========================<br />
	LabVIEW: (Hex 0xD) Failed to load dynamic library because of missing external symbols or dependencies, or because of an invalid file format.<br />
	=========================<br />
	Shareable board exclusively owned.</em></span>
</p>

<p>
	<span style="color:#bdc3c7;"><em>Method Name: Linker:Write Info To File</em></span>
</p>
]]></description><guid isPermaLink="false">23367</guid><pubDate>Mon, 17 Jul 2023 15:14:48 +0000</pubDate></item><item><title>Building Exe in LabVIEW 2019 Pro</title><link>https://lavag.org/topic/23973-building-exe-in-labview-2019-pro/</link><description><![CDATA[<p>
	If I build and exe using LabVIEW 2019 Pro , that utilizes the report generation toolkit , can it be run on a PC with just the LabVIEW runtime engine , and , some of these PC's may have LabVIEW 2019 Full installed on them. Will it run in that case ?
</p>

<p>
	Regards
</p>

<p>
	Dan
</p>
]]></description><guid isPermaLink="false">23973</guid><pubDate>Tue, 28 May 2024 21:28:45 +0000</pubDate></item><item><title>Reuse PPLs for both 32 and 64 bit LabVIEW</title><link>https://lavag.org/topic/23843-reuse-ppls-for-both-32-and-64-bit-labview/</link><description><![CDATA[<p>
	I have watched several of the videos online regarding building PPLs and a plugin architecture, and some of the build issues that have been encountered.   One thing that I havent seen is how to handle both 32 and 64 bit PPLs.
</p>

<p>
	Currently, we have both the 32 and 64 bit versions of LabVIEW on the same PC, and I am running into an issue of how to properly deal with the PPL plugins.  
</p>

<p>
	We distribute the reuse PPLs via VIPM.   
</p>

<p>
	The install process for this is typically:
</p>

<p>
	- When built, Package both bitness into the same VIP file
</p>

<p>
	- Unpack to a temp folder
</p>

<p>
	- Determine the bitness and move the desired bitness PPL to the install folder (Ex: C:\ProgramData\PPL\DB Base\DB Base.lvlibp)
</p>

<p>
	- Delete the temp folder with the "incorrect" bitness.
</p>

<p>
	 
</p>

<p>
	This works when we only have one version of LabVIEW on a PC.   But there may be times when we need both the 32 and 64 bit on a machine, depending on the programs installed.  An example being a test software that needs 64 bit and we would also want another tool that we developed and is in 32 bit, and they both need to use the DB Base.lvlibp.
</p>

<p>
	Having both try to access the same file (C:\ProgramData\PPL\DB Base\DB Base.lvlibp) wont work for one of the bitness'.
</p>

<p>
	Is it better to append the bitness to the file name?  (Ex: C:\ProgramData\PPL\DB Base\DB Base <strong>32 bit</strong>.lvlibp)
</p>

<p>
	Or to the folder?  (Ex: C:\ProgramData\PPL\DB Base <strong>32 bit</strong>\DB Base.lvlibp)
</p>

<p>
	 
</p>

<p>
	In either case, I can see my build process getting more complicated for the plugin module (DB Plugin), which inherits from the DB Base PPL....
</p>

<p>
	- Do I have a 32 bit project (DB <strong>Plugin</strong> 32 bit.lvproj) that points to the C:\ProgramData\PPL\DB <strong>Base</strong>\DB <strong>Base</strong> 32 bit.lvlibp and a 64 bit project that points to the 64 bit base PPL (or folder)?
</p>
]]></description><guid isPermaLink="false">23843</guid><pubDate>Tue, 26 Mar 2024 12:25:02 +0000</pubDate></item><item><title>Creating executable with gRPC library</title><link>https://lavag.org/topic/23817-creating-executable-with-grpc-library/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	I'm trying to create an executable that uses gRPC library. The project works well from development environment but I get an error 7 when running compiled code:
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	<em>Error 7 occurred at Call Library Function Node in grpc-lvsupport-release.lvlib:Create Client.vi:560002-&gt;Voluson_client.lvlib:Create Client.vi:560001-&gt;gRPCFunctionCall.vi-&gt;Sequence Editor 1.vi</em>
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	<em>LabVIEW: (Hex 0x7) File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.</em>
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	I tracked it down to "GetServerDLL.vi", which, by default, e.g. when not in run-time, runs the following code:
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="18246" data-ratio="24.44" width="945" alt="image.png.7671ce6d3f0f394d2777323d63435ae3.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_03/image.png.7671ce6d3f0f394d2777323d63435ae3.png">
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	and returns path "C:\Program Files\National Instruments\LabVIEW 2023\vi.lib\gRPC\LabVIEW gRPC Library\Libraries\Win64\labview_grpc_server.dll", which is where the "Libraries" folder is located.
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	At run time, it executes this:
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="18247" data-ratio="24.37" width="948" alt="image.png.b395327f7740e76de6f3511e8aebce8a.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_03/image.png.b395327f7740e76de6f3511e8aebce8a.png">
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	which, of course returns location of the exe+Libraries\Win64...
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	I'm not clear on the intention of this or what steps should I take to make it work? Do I need to copy the whole "Libraries" to the same location as the executable manually and then add it to build specs for installer?
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	Thank you for reading.
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	AL
</p>
]]></description><guid isPermaLink="false">23817</guid><pubDate>Thu, 14 Mar 2024 21:26:22 +0000</pubDate></item><item><title>Fastest run-time start-up with minimal usage of OS, CPU, memory</title><link>https://lavag.org/topic/22671-fastest-run-time-start-up-with-minimal-usage-of-os-cpu-memory/</link><description><![CDATA[<p>
	Hi folks - I have to install a Labview program on a product's embedded Windows 10 computer that at this time has zero NI software on it. The program needs to run immediately after computer boot-up, do its thing in under a minute, and then quit. I really need this program to start running as quickly as possible, and then after quitting leave nothing NI-related running. Do any of you have experience with this kind of situation? Are there any INI file settings or other configurations that will make LabVIEW Run-Time and NI-VISA run with minimal overhead and minimal sub-processes? For example, I don't want any NI processes to look for network connectivity at all nor attempt to "phone home". Also, after quitting I could halt specific processes and services that NI has left running.
</p>

<p>
	Thanks very much,  -Joe
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">22671</guid><pubDate>Thu, 18 Aug 2022 13:56:23 +0000</pubDate></item><item><title>Is there a public api for the compiled object cache?</title><link>https://lavag.org/topic/23559-is-there-a-public-api-for-the-compiled-object-cache/</link><description><![CDATA[<p>
	I am using git submodules + some custom tooling as a package management system for reuse code and I have found myself wanting to remove VIs associated with a given project from the compiled object cache.  Anyone gone down this road and found anything useful?  I am expecting to need to take the next step and just start building my submodules into PPLs and depending on those, but since I am here I thought I would ask if anyone has had any fun experiences with manually manipulating the compiled object cache.
</p>
]]></description><guid isPermaLink="false">23559</guid><pubDate>Fri, 03 Nov 2023 17:53:31 +0000</pubDate></item><item><title>[Solved] VIPM crashes with file permission error</title><link>https://lavag.org/topic/21140-solved-vipm-crashes-with-file-permission-error/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	Over night something changed on my windows 10 build server and I can now no longer open VIPM. It just shows the splash screen and then closes again.
</p>

<p>
	Here's the log file:
</p>

<p>
	=========== START of VIPM 2018.0.0 (build 2025) Error Message ===========<br>
	An internal VIPM 2018.0.0 (build 2025) Error has occured on: Tuesday August 20, 2019 at 03:19:48 PM
</p>

<p>
	= Automated Message Start = <br>
	Error 8 occurred at Open/Create/Replace File in NI_LVConfig.lvlib:Parse Config to <br>
	Queue.vi-&gt;NI_LVConfig.lvlib:Load.vi-&gt;NI_LVConfig.lvlib:Open Config Data <br>
	(compatibility).vi-&gt;DDEFA056211BA4DA4D215C322E067D90-&gt;621BFCD461979D3C7127139A69154E03-&gt;762BBE85A007<br>
	171D5A65B48289D23361-&gt;46803A2448FAC5F85BFF8F5C199E9C6F-&gt;OGPM <br>
	Class.lvlib:7D7C5CD8C5D361C01081DF5613237E15-&gt;OGPM <br>
	Class.lvlib:D69AB3997B80ACD75689430E3922612C-&gt;OGPM Class.lvlib:OGPM Init.vi-&gt;VIPM Splash.vi<br>
	Possible reason(s):<br>
	LabVIEW:  File permission error. You do not have the correct permissions for the file.<br>
	=========================<br>
	DMA hardware error detected.<br>
	C:\ProgramData\JKI\VIPM\cache\ngene_lib_deepltk_fpga_addon-1.0.0.45.spec<br>
	= Automated Message End =
</p>

<p>
	= User Defined Message Start = <br>
	    Error(s) Generated in Splash Window<br>
	= User Defined Message End =
</p>

<p>
	= Error Handler Call Chain Start =<br>
	    VIPM Splash.vi<br>
	= Error Handler Call Chain End =<br>
	=========== END of VIPM 2018.0.0 (build 2025) Error Message ===========
</p>

<p>
	Any idea where the files are that it doesn't have the right permissions for?
</p>
]]></description><guid isPermaLink="false">21140</guid><pubDate>Tue, 20 Aug 2019 05:38:56 +0000</pubDate></item><item><title>VI has an error 2208</title><link>https://lavag.org/topic/16442-vi-has-an-error-2208/</link><description><![CDATA[<div>Hallo,</div>
<div>I have done some manteinance to an application compiled with LabVIEW 2012. That app has an installer, so my users can upgrade it easily. I usually install the application on the same machine where I develop with LabVIEW and after I try the installation procedure on a clean machine to see if issues arise. Today have seen that on the development PC, the executable runs fine. Instead on the clean machine, the following message appears after that the application has loaded the panel.</div>
<div> </div>
<div><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_01_2013/post-18107-0-21754600-1357251774.jpg" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_01_2013/post-18107-0-21754600-1357251774.jpg" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=7618" class="ipsImage ipsImage_thumbnailed" alt="post-18107-0-21754600-1357251774.jpg"></a></div>
<div> </div>
<div> </div>
<div>Have you seen this message in past? I have found some posts here: other users have found the same issues, with older versions of LabVIEW.</div>
<div> </div>
<div><a href="http://forums.ni.com/t5/LabVIEW/VI-has-an-error-of-type-2208-42308-302208/td-p/1540496" rel="external nofollow">forums.ni.com/t5/LabVIEW/VI-has-an-error-of-type-2208-42308-302208/td-p/1540496</a></div>
<div> </div>
<div>I have upgraded the DAQmx drivers on the clean machine , but the issue remains.</div>
<div> </div>
<div>Any idea?</div>
]]></description><guid isPermaLink="false">16442</guid><pubDate>Thu, 03 Jan 2013 22:26:31 +0000</pubDate></item><item><title>EXE back to buildable project</title><link>https://lavag.org/topic/21233-exe-back-to-buildable-project/</link><description><![CDATA[<p>
	I have a built LabView 14 project which I want to get back to a form which would allow me to "build" it again.
</p>

<p>
	My programming skills are high, but LabView skill is almost non-existent.
</p>

<p>
	 
</p>

<p>
	I found LLB file within the Windows Resources of PE Executable.
</p>

<p>
	I noticed the LLB file contains one, large "block" of data inside, called 'LVzp', which is encrypted.I wrote proper xor-based decryption algorithm.
</p>

<p>
	This resulted in a Zip file. I extracted the ZIP, and found many folders and files inside.
</p>

<p>
	Some folders have names which indicate they might've been libraries in original project, but were all extracted and put into directory structure instead. For example, I see a folder "vi.lib", and inside there's a folder "dlg_ctls.llb".
</p>

<p>
	Now to my questions:
</p>

<p>
	How should I prepare all that for re-building?
</p>

<p>
	Should I re-create all the LLB files from single VI files I see in extracted folders?
</p>

<p>
	Should I also create LIB files before adding everything to a new project? I understand that "New -&gt; Library" in project view creates LLB file, how do I create LIBs?
</p>

<p>
	Or maybe adding everything to a project as-is will work as well?
</p>

<p>
	Are any specific actions needed to re-create a project out of these files? I figured all the "Remove ..." options in "Additional Exclusions" tab of build target need to be unchecked, anything more?
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21233</guid><pubDate>Wed, 16 Oct 2019 22:55:19 +0000</pubDate></item><item><title>Using cmd with Labview app build</title><link>https://lavag.org/topic/22887-using-cmd-with-labview-app-build/</link><description><![CDATA[<p>
	Hi everybody,
</p>

<p>
	 
</p>

<p>
	I have a problem with cmd LabVIEW. I did a state machine and build an exe(So far, so good). 
</p>

<p>
	I did a state machine with a 2000ms timeout. Everytime out i launch a cmd (So far, so good). This command consist to check if nvidia cuda is installed  (All is in the code and So far, so good).
</p>

<p>
	 
</p>

<p>
	<img alt="image.png.ee2d5c3653915af9c8676455c5218f79.png" class="ipsImage ipsImage_thumbnailed" data-fileid="17447" data-ratio="33.11" width="900" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_01/image.png.ee2d5c3653915af9c8676455c5218f79.png">
</p>

<p>
	 
</p>

<p>
	In my state machine i have a state which launch an external installer which will be installed cuda (So far, so good). 
</p>

<p>
	 
</p>

<p>
	<img alt="image.png.baad6299e14ff0efc50070132185de41.png" class="ipsImage ipsImage_thumbnailed" data-fileid="17448" data-ratio="33.22" width="900" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_01/image.png.baad6299e14ff0efc50070132185de41.png">
</p>

<p>
	 
</p>

<p>
	My problem start when cuda is installed during the execution of this state machine (build in exe) and my timeout state does no work <strong>(the cmd which check if cuda is installed does not work</strong>).
</p>

<p>
	<strong>When i restart the exe this state work ! and detect cuda with no problem</strong> <span class="ipsEmoji">🤔</span>
</p>

<p>
	Why do i have to restart my exe to make it work ? (i put the state machine in snip copy and work well in <abbr title="LabVIEW"><abbr title="LabVIEW">LV</abbr></abbr> version - Not work well when build exe)
</p>

<p>
	<img alt="1076015223_cmdsnipp.png.77337fe669e950ee01cc7fd0360226b5.png" class="ipsImage ipsImage_thumbnailed" data-fileid="17445" data-ratio="31.14" width="1200" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_01/1076015223_cmdsnipp.png.77337fe669e950ee01cc7fd0360226b5.png">
</p>

<p>
	 
</p>

<p>
	CMD inside the exe are blocked since cuda installer was launched, why ?
</p>

<p>
	 
</p>

<p>
	If you want to do the test, just run the exe in the project, install cuda and when cuda is installed just see that it is not detected.<br>
	Restart the exe and there are no worries cuda is detected. <span class="ipsEmoji">😭</span>
</p>

<p>
	I searched and I still haven't found out why <span> </span> <span class="ipsEmoji">😭</span><span> </span> <span class="ipsEmoji">😭</span><span> </span> <span class="ipsEmoji">😭</span>
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink" data-fileext="zip" data-fileid="17449" href="https://lavag.org/applications/core/interface/file/attachment.php?id=17449&amp;key=ab8becc0f526b07ac4d6faad4ed27534" rel="">217806318_SourceInstaller.zip</a>
</p>
]]></description><guid isPermaLink="false">22887</guid><pubDate>Mon, 23 Jan 2023 11:07:05 +0000</pubDate></item><item><title>Calling NI driver installers from 3rd party installer builder.</title><link>https://lavag.org/topic/22863-calling-ni-driver-installers-from-3rd-party-installer-builder/</link><description><![CDATA[<p>
	I'm using my own installer builder for my LabVIEW app. I now want to include some NI drivers. What is the best approach? I don't want to use the NI installer builder.
</p>

<p>
	I've seen this here, but not sure if the output of this can be called from my 3rd party installer builder. What have others done?
</p>

<p>
	<a href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000fyxySAA&amp;l=en-US" ipsnoembed="true" rel="external nofollow">https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000fyxySAA&amp;l=en-US</a>
</p>
]]></description><guid isPermaLink="false">22863</guid><pubDate>Fri, 06 Jan 2023 21:50:12 +0000</pubDate></item><item><title>VIPM 2023 RC1 Available. Please help us test!</title><link>https://lavag.org/topic/22844-vipm-2023-rc1-available-please-help-us-test/</link><description><![CDATA[<p>
	Details here: <a href="https://forums.vipm.io/topic/7015-vipm-2023-rc1-for-windows-please-help-us-test-%F0%9F%9A%80/" rel="external nofollow">https://forums.vipm.io/topic/7015-vipm-2023-rc1-for-windows-please-help-us-test-<span class="ipsEmoji">🚀</span>/</a>
</p>

<p>
	Please <a href="https://forums.vipm.io/topic/7015-vipm-2023-rc1-for-windows-please-help-us-test-%F0%9F%9A%80/#replyForm" rel="external nofollow">post any replies in that topic</a>.
</p>
]]></description><guid isPermaLink="false">22844</guid><pubDate>Tue, 20 Dec 2022 21:03:27 +0000</pubDate></item><item><title>Remove Block Diagram after Build with VIPM</title><link>https://lavag.org/topic/22821-remove-block-diagram-after-build-with-vipm/</link><description><![CDATA[<p>
	Hello,<br>
	<br>
	I am working on a function library and I want to package it with VIPM.<br>
	On this side I have no problem, my problem appears when I want to remove the block diagram of my VI in order to protect my source code.
</p>

<p>
	<br>
	I first tried to use the <strong>pre build actions</strong> calling a VI using scripting to remove the block diagram from my VIs (something like below). However when I do this I get this kind of error message.
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17328" data-ratio="33.72" width="258" alt="image.png.4f8f8ff5f2fc1d7eb29c21540fa6d77e.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2022_11/image.png.4f8f8ff5f2fc1d7eb29c21540fa6d77e.png">
</p>

<p>
	<br>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17327" data-ratio="38.35" width="1163" alt="error_message.png.8533d239fc6e7403b4dd7863ee35a867.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2022_11/error_message.png.8533d239fc6e7403b4dd7863ee35a867.png">
</p>

<p>
	<br>
	<strong>It seems that we cannot remove the block diagram before the build.</strong>
</p>

<p>
	<br>
	My question is "<strong>How can we remove the block diagrams from a post build action ?</strong>" 
</p>

<p>
	<br>
	After some research, I came across this<strong> <a href="https://jki.userecho.com/communities/1/topics/136-option-to-remove-block-diagrams-in-vipb" rel="external nofollow">post</a> </strong> in which Jim Kring says "This should be possible with a custom post-build action VI", however he does not explain how to achieve this.<br>
	<br>
	I was able to remove the block diagrams using the post install actions however <strong>my goal would be to remove them with a post build action</strong>. 
</p>
]]></description><guid isPermaLink="false">22821</guid><pubDate>Wed, 30 Nov 2022 16:36:41 +0000</pubDate></item><item><title>Error 66 while building VIPM package [cross-post]</title><link>https://lavag.org/topic/22801-error-66-while-building-vipm-package-cross-post/</link><description><![CDATA[<p>
	(message first <a href="https://forums.vipm.io/forum/88-developing-labview-tools-and-add-ons/" rel="external nofollow">posted on jki forum</a>, but traffic there seems very low...)
</p>

<p>
	I get this error when building my package with VIPM, previously the package was building fine.
</p>

<p>
	It always took a long time (~15 to 20 minutes) to build this package because it's quite large (~78 classes, 1200+ VIs).<br>
	Since the last successful build I've only added some methods in the classes.
</p>

<p>
	Mass compiling the folder containing the source code doesn't report any issue.
</p>

<p>
	<img alt="553679461_Capturedcran2022-11-10183001.png.b8c108f933e5e522038a84f595b122b5.png" class="ipsImage ipsImage_thumbnailed" data-fileid="17271" data-ratio="35.53" width="912" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2022_11/553679461_Capturedcran2022-11-10183001.png.b8c108f933e5e522038a84f595b122b5.png">
</p>

<p>
	Error 66 is descibed in LabVIEW as 'The network connection was closed by the peer. If you are using the Open VI Reference function on a remote VI Server connection, verify that the machine is allowed access by selecting Tools&gt;&gt;Options&gt;&gt;VI Server on the server side.'
</p>

<p>
	I've check this and other (smaller) package still build fine.
</p>

<p>
	<br>
	Sources are in <abbr title="LabVIEW"><abbr title="LabVIEW">LV</abbr></abbr> 2019 32 bit
</p>

<p>
	I'm using the latest version of VIPM 2021.1 b2754
</p>

<p>
	Any suggestions?
</p>
]]></description><guid isPermaLink="false">22801</guid><pubDate>Fri, 11 Nov 2022 08:44:48 +0000</pubDate></item><item><title>Interpreting lvlog.txt - build failing for unknown reasons</title><link>https://lavag.org/topic/22712-interpreting-lvlogtxt-build-failing-for-unknown-reasons/</link><description><![CDATA[<p>
	Hi!
</p>

<p>
	I work on a large (4000+ VIs, 1.6 GB repository) LabVIEW program. I've just finished working on a new feature, and all of the sudden the code won't build anymore, always failing with this error:
</p>

<p>
	 
</p>

<p>
	"Error 1 occurred at An error occurred while saving the following file:
</p>

<p>
	C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\registry\registry.llb\Registry refnum.ctl
</p>

<p>
	<br />
	Click the link below to visit the Application Builder support page. Use the following information as a reference:
</p>

<p>
	Error 42 occurred at AB_Source_VI.lvclass:Close_Reference.vi -&gt; AB_Build.lvclass:Save.vi
</p>

<p>
	Possible reason(s):
</p>

<p>
	LabVIEW: (Hex 0x2A) Generic error.
</p>

<p>
	Possible reason(s):
</p>

<p>
	LabVIEW: (Hex 0x1) An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
</p>

<p>
	=======
</p>

<p>
	Command requires GPIB Controller to be Controller-In-Charge."
</p>

<p>
	 
</p>

<p>
	The feature resulted in changes to several widely used typedefs, and an update to one of our core VIPM packages (one we make ourselves).
</p>

<p>
	The code runs fine from IDE, and nothing shows up as broken in the project. I've run mass compiles a few times, which found some broken VIs that were removed from the project but not deleted from the repository, so I removed those. It also found a few "Insane Objects", most of which I have now removed. The mass compile output gets smaller each time, but the error code on subsequent builds never changes.
</p>

<p>
	I've been trying to read the "LVInternalReports" that are created for each failed build, but I'm struggling to interpret some of its contents. In the lvlog.txt file of the latest build, I see several &lt;DEBUG_OUTPUT&gt; sections with DWarn lines that seem relevant. Here is one example:
</p>

<p>
	 
</p>

<p>
	"&lt;DEBUG_OUTPUT&gt;<br />
	2022-09-15 1:03:56.779 PM<br />
	DWarn 0xF481EB8C: error returned from SaveObjectData: 1 image {HeapClass=FPHP,UID=12,DPId=9,o=0x9db4fe00}<br />
	d:\builds\penguin\labview\branches\2019\dev\source\panel\savedata.cpp(634) : DWarn 0xF481EB8C: error returned from SaveObjectData: 1 image {HeapClass=FPHP,UID=12,DPId=9,o=0x9db4fe00}<br />
	minidump id: f47da8ab-45aa-4102-ba6b-3f32f5b84f42<br />
	$Id: //labview/branches/2019/dev/source/panel/savedata.cpp#4 $"
</p>

<p>
	 
</p>

<p>
	Is there a way to trace what this is referring to? I assume if this refers to a particular VI it will help me track down the issue, but I don't know what these hexadecimal codes refer to.
</p>

<p>
	If anyone has suggestions for other ways to diagnose the build failure it would be greatly appreciated.
</p>
]]></description><guid isPermaLink="false">22712</guid><pubDate>Thu, 15 Sep 2022 18:43:38 +0000</pubDate></item><item><title>Are the builds from Windows and Linux different?</title><link>https://lavag.org/topic/22394-are-the-builds-from-windows-and-linux-different/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I have noticed the difference in performance for the same application built on Windows and Linux (Ubuntu). Small differences could be understood but it looks like my app runs much slower on Ubuntu, so I tried to find any information what is that difference. I have checked the process created by the application in system performance and that's the first surprise: on widows I have 44 threads, on Linux 12 only. So it leads to question - is the parallel execution works on Linux ? 
</p>

<p>
	I have tied to search the web to find any information related to how the application builder works but with no success. I would be grateful for any link or document describing that topic. 
</p>

<p>
	edit:
</p>

<p>
	44 thraeds on windows couled be expected when we have PC with 2 cores (2*20 + 4) according to <a href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PARmSAO&amp;l=pl-PL" rel="external nofollow">https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PARmSAO&amp;l=pl-PL</a>
</p>

<p>
	On Linux, running the LabVIEW 20XX\vi.lib\Utility\sysinfo.llb\threadconfig.vi. will show us that:
</p>

<p>
	<img alt="image.png.fb5b1514d785cf550477210383676bdb.png" class="ipsImage ipsImage_thumbnailed" data-fileid="16390" data-ratio="92.66" width="722" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2022_01/image.png.fb5b1514d785cf550477210383676bdb.png">
</p>

<p>
	so the normal prioriti is used only (checked on Ubuntu and OPENsuse).
</p>
]]></description><guid isPermaLink="false">22394</guid><pubDate>Wed, 19 Jan 2022 13:39:42 +0000</pubDate></item><item><title>Package Manager / Builder - combine feeds</title><link>https://lavag.org/topic/22556-package-manager-builder-combine-feeds/</link><description><![CDATA[<p>
	Hey guys...
</p>

<p>
	 
</p>

<p>
	I have played around with package manager/builder in the last few days... it seems that this thing is not completely easy going as I thought it was - or I am just too stupid to use...
</p>

<p>
	so what I want:
</p>

<p>
	I have a network drive with folders where I store NI Installers/feeds/pools and other .nipkgs/feeds
</p>

<p>
	I want to create "station specific" feeds out of these packages.
</p>

<p>
	 
</p>

<p>
	Easiest way I found out to create such a feed was to do it via command line?
</p>

<p>
	I did something like:
</p>

<pre class="ipsCode">nipkg feed-create C:\temp\TestStation P:\driverX
nipkg feed-create --append C:\temp\TestStation P:\driverY</pre>

<p>
	 
</p>

<p>
	What I did not find is a possibility to like concatenate different Package-Feed-Files.
</p>

<p>
	For example the NI drivers and so on always have a Feed file in there installers, wouldn't it be nice to just select these files instead of all the .nipkgs in the pool folder?
</p>

<p>
	Would make the new Package-feed-file much more readable if the would only contain references to other feed files, at least in my head...
</p>

<p>
	 
</p>

<p>
	thanks in advance
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	€:
</p>

<p>
	had another idea:
</p>

<p>
	I could create an installer which installs Package Manager with a few tweaks by just adding the network package feed files to the recognized feed paths?
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Or does someone else have some good idea to setup production stations with defined runtimes/test setups AND also developing stations with defined versions?
</p>
]]></description><guid isPermaLink="false">22556</guid><pubDate>Tue, 31 May 2022 11:10:26 +0000</pubDate></item><item><title>Extra build log info</title><link>https://lavag.org/topic/22539-extra-build-log-info/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I am trying to debug a (exe) build that is breaking for reasons I don't yet understand. In the past I added some setting to my LabVIEW.ini file to get <strong>extra detailed</strong> information about the build process, but I cannot find that key listed anywhere. Can someone remember what it is?
</p>

<p>
	It was something like EnableDetailedBuildInfo, but it has been years since I needed it last so have got no chance of actually remembering the details.
</p>
]]></description><guid isPermaLink="false">22539</guid><pubDate>Mon, 16 May 2022 10:47:40 +0000</pubDate></item><item><title>How to ensure lvlibs and their VIs really end up inside the executable</title><link>https://lavag.org/topic/21647-how-to-ensure-lvlibs-and-their-vis-really-end-up-inside-the-executable/</link><description><![CDATA[<p>
	I happen to have some JKI JSON calls, among other things, in a dynamically called plugin, and it seems that whatever I do in the application build specification to try to get all those support functions (members of lvlibs) included in the executable, the build insists on putting the support functions as separate files together with the plugin (the plugin is here a VI included in the same build, destined to be in a separate plugins folder).
</p>

<p>
	(Sometimes I wonder if there is a race condition in the builder; what does it do for example if there are two plugins include din the build that will call the same VI, and the destination is set to Same as caller ..<span class="ipsEmoji">🤔</span>That's not the case just now though, right now the only caller is one dynamically called external VI..)
</p>

<p>
	In an ideal world I think I would create a destination for the lvlibs that plugins are to use in a single external support container-file like an llb...In the case of this JSON library though there are classes involved to, so an llb does not work (name collisions etc). Packed libraries are too cumbersome to use I think, for various reasons (having to support multiple targets for example).<br>
	<br>
	So as a second best solution I want everything (all lvlibs that plugins may need something for) packed into the executable (works as a single file container, and supports classes as long as it is not using the 8.x file format...), but then the application build seems to behave very unpredictably. At first I would expect that if I included the lvlib on the always included list, and then set the destination of the lvlib to the executable I would be fine, but no. - Suspecting that this only applies to the lvlib-container file itself and not the VIs it owns, I then also set the destination for all dependencies and packed and shared libraries to the executable...- Still the builder puts lvlib-VIs together with the plugin. I have tried this with and without excluding unused members of the library with/without modification...and with and without disconnecting type definitions.
</p>

<p>
	In the end I returned to the original build setup (as this was noticed after a conversion from 2018 to 2020), tried a build, got a Bad-VI error on a couple of VIs used by an xcontrol, set those to include the block diagram...and voila - magically this affected where the JSON lvlib ended up as well, even though they have no links in the code. This problem keeps popping up though, and once it is there it seems like getting the lvlib-files to the wanted destination always includes some voodoo...<span class="ipsEmoji">😧</span> Or does it?
</p>
]]></description><guid isPermaLink="false">21647</guid><pubDate>Fri, 03 Jul 2020 11:42:15 +0000</pubDate></item><item><title>Install Matlab with NI Package Manager?</title><link>https://lavag.org/topic/22525-install-matlab-with-ni-package-manager/</link><description><![CDATA[<p>
	Hi Guys,
</p>

<p>
	 
</p>

<p>
	is there a (clean) way to install Matlab with NI Package Manager?
</p>

<p>
	I need some mat-Scripts (local .m-Files) for my software and make sure the right version is installed. (as we use package manger, and I am not that familiar with it, it would be nice to have one software package rather than someone have to install the software one by another)
</p>

<p>
	The scripts are called in the software and needed to be changed by some other developers, without entering LabVIEW <span><span class="ipsEmoji">😕</span></span>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	br
</p>

<p>
	Michael
</p>
]]></description><guid isPermaLink="false">22525</guid><pubDate>Mon, 02 May 2022 12:36:23 +0000</pubDate></item><item><title>NI update and package manager eating hard drive space.</title><link>https://lavag.org/topic/21447-ni-update-and-package-manager-eating-hard-drive-space/</link><description><![CDATA[<p>
	I work with VMs and monitoring VM drive space is one issue I look at every now and then.
</p>

<p>
	The "<strong><span style="color:#3498db;">C:\ProgramData\National Instruments</span></strong>" folder on one of my VMs is using 40GB. Does anyone know the proper way to clean up the NI crap?
</p>

<p>
	Using SpaceSniffer, it show the bulk of it is used by the Update Service and NI Package Manager. I'm sure it's just leftover installers that may be needed.
</p>
]]></description><guid isPermaLink="false">21447</guid><pubDate>Sun, 15 Mar 2020 23:40:32 +0000</pubDate></item><item><title>LinuxRT on Hyper-V</title><link>https://lavag.org/topic/22430-linuxrt-on-hyper-v/</link><description><![CDATA[<p>
	Has anyone tried building a LinuxRT VM using Hyper-V?  I've been trying and I can't get this to run.  I tried Gen 1 and got a stall on /initrd... ok, then nothing more; and on Gen 2 it stalls and returns that the VM is invalid.  If there are any suggestions, I'd love to hear them.  I would like to stick with Hyper-V as I'm using WSL on this laptop as well and I've had incompatibilities running VMWare on Windows10 with WSL.  There seems to be an issue with using 3rd party virtualization and Hyper-V (WSL uses HV) side-by-side, as I can attest.  I have done this successfully using VMWare in the past, but I had to abandon VMW as I'm using WSL as well and Windows Hyper-V isn't playing well with others anymore...
</p>

<p>
	Not a great description, but I figured it was worth an ask if others have been able to get this to work.  
</p>
]]></description><guid isPermaLink="false">22430</guid><pubDate>Tue, 08 Feb 2022 03:40:22 +0000</pubDate></item><item><title>Missing external function errors in executable on hosts with a runtime engine</title><link>https://lavag.org/topic/21845-missing-external-function-errors-in-executable-on-hosts-with-a-runtime-engine/</link><description><![CDATA[<p>
	Hello, I wrote a LabVIEW program to communicate with a hardware sensor using vendor-provided LLB and a DLL files. The program runs fine on my workstation both from LabVIEW IDE and from a compiled executable. The problem starts when I copy the entire executable folder to a target host without a LabVIEW IDE (only with a runtime engine). The application opens with a broken Run arrow and a "missing external function" error message appears for every function call I made to the DLL (see attached).
</p>

<p>
	I have tested my application on 5 completely different Windows 10 computers managed by different people. On three of them with various versions of LabVIEW IDE my executable opened with a whole Run arrow and no error message. Two other machines previously had no LabVIEW, so I installed a Runtime Engine 2017f2 32-bit with default settings to match the version of my IDE. Both gave an identical error message.
</p>

<p>
	The DLL is always included in the application build. I have tried placing the DLL in every conceivable location on the target host: in the executable folder, in the /data folder, in the c:\Windows and system32 folders... I even created a full folder tree matching the location of the project on the developer workstation. Same error. When I intentionally hide the DLL, my executable prompts me to point to it upon being opened, and when I do, I get all the same error messages.
</p>

<p>
	Vendor documentation only asks to put the two files in the same folder. From programmer's manual: " <span>The driver was written in LabWindows/CVI, version 4.0.1 and is contained in a dynamic link library which can be linked with a variety of programming languages.</span>" There is no vendor-provided support.
</p>

<p>
	One way I actually got rid of the error message was by editing every Call Library Function Node in every VI in the LLB to use relative path to DLL together with the Application Directory VI. However, I feel that there has got to be a better way to compile than by editing a vendor-provided library, especially since it works as-is on some computers. Can anyone suggest what it is?
</p>

<p>
	Thank you for your time!
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_2020_12/failed_application.png.e6cbca2db00d88f9a351c3c1a16e55ca.png" data-fileid="15435" data-fileext="png" rel=""><img alt="failed_application.png" class="ipsImage ipsImage_thumbnailed" data-fileid="15435" data-ratio="74.76" width="725" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_12/failed_application.png.e6cbca2db00d88f9a351c3c1a16e55ca.png"></a>
</p>
]]></description><guid isPermaLink="false">21845</guid><pubDate>Wed, 02 Dec 2020 07:54:31 +0000</pubDate></item><item><title>Error 7 (Missing cache?) from build.vi</title><link>https://lavag.org/topic/21738-error-7-missing-cache-from-buildvi/</link><description><![CDATA[<p>
	I get an error 7, file missing error when I run the app builder Build.vi provided by NI (visible in the palettes).
</p>

<blockquote class="ipsQuote" data-gramm="false" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents ipsClearfix" data-gramm="false">
		<p>
			NI_LVConfig.lvlib:Load.vi&lt;ERR&gt; C:\Users\MichaelA\AppData\Local\Temp\AB_Cache_{DD695C27-7E5F-4A88-8B25-B389D65799CC}.txt &lt;b&gt;Complete call chain:&lt;/b&gt;      NI_LVConfig.lvlib:Load.vi      NI_LVConfig.lvlib:Open Config Data.vi      AB_RW_Project_Cache_Info.vi      BuildMonitor_Clean.vi      CleanTarget.vi      NI_App_Builder_API.lvlib:Clean.vi      build exe - vishots.vi      Build_App2.vi
		</p>
	</div>
</blockquote>

<p>
	I've seen this issue a few times with various projects. I'm not sure what causes it, but there's no way to recover from it quickly. The only thing that fixes it, that I've found, is to manually execute a build from the project build spec. This seems to fix the missing cache issue. After a manual build is done, Automated builds using the build.vi work as expected without errors, multiple times.
</p>
]]></description><guid isPermaLink="false">21738</guid><pubDate>Fri, 28 Aug 2020 01:11:46 +0000</pubDate></item><item><title>LabVIEW built .NET assembly works ok when built using LV2019 but not LV2020</title><link>https://lavag.org/topic/22141-labview-built-net-assembly-works-ok-when-built-using-lv2019-but-not-lv2020/</link><description><![CDATA[<p>
	Recently I have tried to package up some code as a .NET Assembly. I managed to pack some pretty complicated LV2019 code (including some LabVIEW classes and dynamically called code) into an assembly and was able to call it just fine from a simple C# console application. However, this does not work when I moved over to LV2020.
</p>

<p>
	To make things simple to try and get to the root of it I created the simplest possible example I can think of. One copy is in LV2019 and it works fine, the other is LV2020 and it does not work.
</p>

<p>
	The assembly builds fine in LV2020, and indeed is callable from LabVIEW code. The test is just a simple Increment VI.
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15959" data-ratio="33.33" width="636" alt="image.png.6cbf4a348e52241532df9decb10b676f.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_07/image.png.6cbf4a348e52241532df9decb10b676f.png">
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15958" data-ratio="35.16" width="694" alt="image.png.ea581cfdf9e39bff3ac5306e028d7079.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_07/image.png.ea581cfdf9e39bff3ac5306e028d7079.png">
</p>

<p>
	This works fine when the assembly is built using LV2019, the num variable is correctly 2 after running this line of code.
</p>

<p>
	However in LV2020 I get the following exceptions after running that line
</p>

<pre class="ipsCode">
System.TypeInitializationException
  HResult=0x80131534
  Message=The type initializer for 'MyAssemblyNamespace.LvClient' threw an exception.
  Source=Increment2020
  StackTrace:
   at MyAssemblyNamespace.MyTestClass.Increment(Double input)
   at Increment.Program.Main(String[] args) in C:\dev\Scratch\DLL Build Test (2020)\Source\C#\Increment\Increment\Program.cs:line 10

Inner Exception 1:
FileNotFoundException: Missing Dependency in:

Inner Exception 2:
VIAssemblyException: Missing Dependency in:</pre>

<p>
	I have tried playing around with including the LabVIEW Interop assembly in the C# application (C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\<strong>2019</strong>\NationalInstruments.LabVIEW.Interop.dll) and changing this to 2020 for the LV2020 version, it does not seem to make any difference.
</p>

<p>
	The LV2019 version runs without this assembly included in the project.
</p>

<p>
	Is this something to do with the GAC? This is now getting into the details of .NET that I am not really very familiar with.
</p>

<p>
	Does anyone have any tips for things I can look into? I have attached a zip of everything for anyone curious.
</p>

<p>
	 
</p>
<p>
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15960" data-fileext="zip" data-fileid="15960">Build Test.zip</a></p>]]></description><guid isPermaLink="false">22141</guid><pubDate>Thu, 15 Jul 2021 08:21:40 +0000</pubDate></item><item><title>Installing LabVIEW runtime engine files with third-party MSI builder. Is nipkg, the new way?</title><link>https://lavag.org/topic/22082-installing-labview-runtime-engine-files-with-third-party-msi-builder-is-nipkg-the-new-way/</link><description><![CDATA[<p>
	I use a third-party MSI builder and not the built-in NI installer builder. I want to include the latest MSI LabVIEW runtime installer. I looked through: C:\ProgramData\National Instruments\MDF\ProductCache but couldn't definitely determine the correct files to use. I used the NI installer builder as a guide to determine the dependancies.
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15918" data-ratio="68.08" data-unique="u00midnsw" width="852" alt="image.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_06/image.png.53f911026731b5c42a5db02893d1cbb8.png">
</p>

<p>
	I know the LabVIEW runtime is also available as an nipkg file. is that the better way to go? If someone can suggest any other solution that would help, I appreciate it.
</p>
]]></description><guid isPermaLink="false">22082</guid><pubDate>Fri, 18 Jun 2021 23:28:14 +0000</pubDate></item><item><title>Debugging a compiled LabVIEW dll</title><link>https://lavag.org/topic/6964-debugging-a-compiled-labview-dll/</link><description><![CDATA[<p>I'm trying to debug a compiled LabVIEW dll. More specifically the dll that is built by the TestStand Sequence File Translator Example (text based LabVIEW version of the example) that ships with TS 4.0.</p>
<p>I have recompiled the dll with <strong>Enable Debugging</strong> and<strong>  Wait for debugger on launch</strong> enabled in the build specifications. I then launch the <strong>Debug Application or Shared Library</strong> window from LabVIEW (in the Opertate menu) and run TestStand (which calls the dll). Nothing happens - the dll runs as expected but I am not able to connect to it for debugging.</p>
<p>I have never used the Debug Application or Shared Library functionality and I'm not sure if I'm doing something wrong or if this is even possible (although the help files lead me to believe it should work). Any nudges in the right direction?</p>
]]></description><guid isPermaLink="false">6964</guid><pubDate>Thu, 31 Jan 2008 16:36:24 +0000</pubDate></item><item><title>Mac OS X LV Application Builder gives yellow icons</title><link>https://lavag.org/topic/21619-mac-os-x-lv-application-builder-gives-yellow-icons/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	When I build an application with LabVIEW for Mac OS X (2016 through 2020), the icon is yellow and when I save a plot of data, the png is yellow as well.  Running the source code is fine, the icons are normal (black text, white background) and my png plots of data are normal.   Does anyone else see this behavior with the LabVIEW Application builder for Mac OS X?   My only option is to continue to use LabVIEW 2015.
</p>

<p><a href="https://lavag.org/uploads/monthly_2020_06/myPlot.png.004b8c90cf940dbb4065af16368429d4.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="15035" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="66.94" width="481" class="ipsImage ipsImage_thumbnailed" alt="myPlot.png" data-src="https://lavag.org/uploads/monthly_2020_06/myPlot.png.004b8c90cf940dbb4065af16368429d4.png"></a></p><p>
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15036" data-fileext="vi" data-fileid="15036">Main.vi</a> 
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15037" data-fileext="vi" data-fileid="15037">Some Plot.vi</a> 
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15038" data-fileext="aliases" data-fileid="15038">try_LV_2020_Save_Plot.aliases</a> 
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15039" data-fileext="lvlps" data-fileid="15039">try_LV_2020_Save_Plot.lvlps</a> 
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15040" data-fileext="lvproj" data-fileid="15040">try_LV_2020_Save_Plot.lvproj</a></p>]]></description><guid isPermaLink="false">21619</guid><pubDate>Thu, 18 Jun 2020 05:51:40 +0000</pubDate></item><item><title>Anyone seen this error on EXE build?</title><link>https://lavag.org/topic/22049-anyone-seen-this-error-on-exe-build/</link><description><![CDATA[<p>
	Having problems building my EXE.  Generates this error sometimes (when it doesn't just silently crash):
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15834" data-ratio="51.18" width="889" alt="1187073056_2021-05-1914_35_50-LabVIEWCrashReporter.png.4c0db2506106597c5ecf3b0b244fc944.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_05/1187073056_2021-05-1914_35_50-LabVIEWCrashReporter.png.4c0db2506106597c5ecf3b0b244fc944.png">
</p>

<p>
	 
</p>

<p>
	Does someone know what the long-meaningless-named VI might be (a vim instance, I'm guessing).  
</p>

<p>
	Any help appreciated.
</p>

<p>
	-- James
</p>
]]></description><guid isPermaLink="false">22049</guid><pubDate>Wed, 19 May 2021 13:42:04 +0000</pubDate></item><item><title>Is anyone successfully running a build server that actually builds reliably?</title><link>https://lavag.org/topic/22018-is-anyone-successfully-running-a-build-server-that-actually-builds-reliably/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I've been working on this for years but I still haven't managed to set up a build server that builds reliably.
</p>

<p>
	My inputs are a vipc file and a .lvproj with all relevant files checkout via git. From there it's a two-step process. A powershell script makes 2 separate calls to labview using two small helper vis:
</p>

<p>
	1.) apply vipc file using VIPM API; close labview entirely
</p>

<p>
	2.) build the project given a build spec name
</p>

<p>
	In the end of step 2 it comes down to this
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15781" data-ratio="40.32" width="873" alt="image.png.251e7518723cea383582a9662da75719.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_04/image.png.251e7518723cea383582a9662da75719.png">
</p>

<p>
	And I have no idea if the last 2 steps are needed but I'm definitely trying to work around problems there, such as:
</p>

<p>
	- some files have changed, because LabVIEW can't just open a project without touching it. So I need to save everything to avoid the "Don't you want to save" dialog blocking everything
</p>

<p>
	- I can't remember what the "Exit" is for
</p>

<p>
	I've played with clearing the build and compiled object cache before every build. I've just turned off automatic recovery saving on my build servers. But I still find myself with builds that just never finish. Often, the last line in my build log is "Attempting to build &lt;whatever&gt;". Of course there is no way to debug a build that's gone wrong because I can't just remote into the build server and look at what's going on because the labview instance that's been started by the build pipeline isn't visible on my desktop even though it's the same user. So all I can do is manually restart, and in most cases that fixes the problem. Of course, the problem is not fixed then ...
</p>

<p>
	Sometimes I remote into the build server and I see a vipm crash handler window. Sometimes I get the old "Sorry for the inconvenience" thing from labview but nothing is ever repeatable
</p>

<p>
	Are there any other recommended settings? Should I mark all files as read-only to stop labview from touching them?
</p>

<p>
	Any tricks, recommendations or other mildly related wisdom?
</p>
]]></description><guid isPermaLink="false">22018</guid><pubDate>Mon, 19 Apr 2021 07:08:51 +0000</pubDate></item><item><title>Missing external function in LV2019 64-bit executable</title><link>https://lavag.org/topic/21399-missing-external-function-in-lv2019-64-bit-executable/</link><description><![CDATA[<p>
	I am pulling my hair out over this one...I am trying to run a LV2019 64-bit application as an executable on another PC. I have done all the normal things I do like install the runtime engine etc, but as soon as any of my code contains any VI which calls into lvanlys.dll I get the following error. 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14608" data-ratio="78.47" width="418" alt="image.png.a4894f67da6da94f7a18f4abc1d7d9d1.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_02/image.png.a4894f67da6da94f7a18f4abc1d7d9d1.png">
</p>

<p>
	 
</p>

<p>
	This is the code:
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14609" data-ratio="53.33" width="225" alt="image.png.f334b1a68aa1991a0be01cb3f3975515.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_02/image.png.f334b1a68aa1991a0be01cb3f3975515.png">
</p>

<p>
	I have done everything I can think of including re-installing the runtime engine, creating an installer from the build PC, copying all DLLs from the Runtime directory to the application data directory etc, none of this works.
</p>

<p>
	This is just a regular PC, the only thing that is a bit out of the ordinary is that it does not have internet access, but surely this is not the cause? Could it be related to 64-bit?
</p>

<p>
	Anyone else seen this in 2019 64-bit?
</p>
]]></description><guid isPermaLink="false">21399</guid><pubDate>Sun, 23 Feb 2020 12:31:28 +0000</pubDate></item><item><title>Calling dlls made in LabVIEW 2011 in Visual C# .NET 4.0?</title><link>https://lavag.org/topic/15593-calling-dlls-made-in-labview-2011-in-visual-c-net-40/</link><description><![CDATA[<p>Hi all,</p>
<p>I've been trying to figure out how to get a function made with LabVIEW 2011 up and running in MS Visual C# 2010 (.NET 4.0)</p>
<p>I've been using this guide: </p>
<p><a href="http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/building_a_net_assembly/" rel="external nofollow">http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/building_a_net_assembly/</a></p>
<p>When i try to execute the code I made in visual studio I get the following error:</p>
<p><strong>Failed to call InitLVClient function</strong></p>
<p>I've seen this thread:</p>
<p><a href="http://forums.ni.com/t5/LabVIEW/VIAssemblyException-quot-Failed-to-call-InitLVClient-function/td-p/1472988" rel="external nofollow">http://forums.ni.com/t5/LabVIEW/VIAssemblyException-quot-Failed-to-call-InitLVClient-function/td-p/1472988</a></p>
<p>My question to you is, is it possible to create LabVIEW 2011 code for use in Visual C# 2010?</p>
<p>If so does anybody have a link to a guide on how to export LabVIEW 2011 VIs into a format that can be called from Visual C# 2010? Even better yet, does anybody have any example code I could work off?</p>
]]></description><guid isPermaLink="false">15593</guid><pubDate>Tue, 20 Mar 2012 19:43:51 +0000</pubDate></item><item><title>No debuggable applications or runtime libraries found</title><link>https://lavag.org/topic/21846-no-debuggable-applications-or-runtime-libraries-found/</link><description><![CDATA[<p>
	I recently decided to try out the <em>Debug Application or Shared Library </em>feature of LabVIEW for the first time, but I can't connect to any application! I tried running an application both on a local and a remote host. I opened the firewall, the IP is correct, Enable debugging is checked in the application builder, and the application runs,  but I always get the "No debuggable applications or runtime libraries found" message. I tried two different applications. What else is there to try?
</p>

<p>
	My two Win 10 machines are on a corporate domain. I have local admin access. One runs <abbr title="LabVIEW">LV</abbr> 2017 32-bit IDE, the other - a matching runtime engine.
</p>
]]></description><guid isPermaLink="false">21846</guid><pubDate>Wed, 02 Dec 2020 08:11:56 +0000</pubDate></item><item><title>Can we build custom type files into EXE?</title><link>https://lavag.org/topic/21850-can-we-build-custom-type-files-into-exe/</link><description><![CDATA[<div dir="ltr">
	I have an additional (custom) project item(file) type defined and a primary project provider for it, complete with its own icon/glyph and a dedicated editor for editing such files. Such files contain just some additional info about the class as a plain XML/JSON text but have a custom file name extension. I manage to store such files within class libraries in the project (.lvclass files are just XML text too) as yet another type of class files (in addition to .lvclass,.ctl,.vi). Just like in the case with class method VIs in classes inheriting from one another, there can exist this new type of files with the same names associated with those related classes (and stored in the same folders with the .lvclass files in the source). The logic of selecting particular ones at runtime is the same as with overriding method VIs: the one in the calling class itself or (if no such file there) the one in/from the nearest ancestor is used.
</div>

<div dir="ltr">
	 
</div>

<div dir="ltr">
	The project providers is a "rusty nails" topic, as we know. For example, for some reason I can't drag those custom items/files between folders/classes. As anyone can see, it is the case for the published examples too, by the way. <a href="https://forums.ni.com/t5/LabVIEW-Project-Providers/bd-p/bymqyodmkc?profile.language=en" rel="external nofollow">https://forums.ni.com/t5/LabVIEW-Project-Providers/bd-p/bymqyodmkc?profile.language=en</a>
</div>

<div dir="ltr">
	 
</div>

<div dir="ltr">
	However the project provider issues for my type themselves are not my main concern right now. The question I have for this forum is: can we make the app builder to store such additional items/files with the the other class items (.lvclass, .vi, .ctl) when building an EXE, i.e. inside the EXE itself, in the corresponding class folders, right where they were in the source? B<span>y default </span>the app builder throws all of them into the same "data" subfolder. That can create filename conflicts, so the app builder makes additional "data" folders with unpredictable names. I can kind of work around this by having only the top level VI in the EXE and creating source distribution with directory structure preservation for the bulk of the code or use the app builder API to programmatically create/update build specs with known (separate for each class) target folders for storing these files but all that looks too clumsy.
</div>

<div dir="ltr">
	<div>
		 
	</div>
</div>
]]></description><guid isPermaLink="false">21850</guid><pubDate>Fri, 04 Dec 2020 03:16:57 +0000</pubDate></item><item><title>LabVIEW "live" USB</title><link>https://lavag.org/topic/21812-labview-live-usb/</link><description><![CDATA[<p>
	I have some information from one of my customers but it's a bit muddled and I am trying to understand it. As it has been described to me,  a USB stick is used to "download" LabVIEW and use it as an "operating system". So obviously there is a bit of a mismatch of vocabulary here or understanding of what LabVIEW is, the closest ideas I have is that this is some kind of Linux Live USB or perhaps running the LabVIEW application directly off the memory stick without installing the RTE.
</p>

<p>
	Does anyone know if it is possible to run a LabVIEW application without installing the RTE by carefully placing certain files in the right place?
</p>
]]></description><guid isPermaLink="false">21812</guid><pubDate>Sat, 31 Oct 2020 15:51:04 +0000</pubDate></item><item><title>Generating shared library using LV NXG</title><link>https://lavag.org/topic/21795-generating-shared-library-using-lv-nxg/</link><description><![CDATA[<p>
	Hello, using Application Builder in LabVIEW I am able to generate a *.dll or *.so which only requires a LabVIEW runtime and can be called from C or any other C-compatible language (Python for example).<br />
	<br />
	Can I do any such thing with LabVIEW NXG 5.0? I tried searching through the official forums but it didn't show me any results...
</p>
]]></description><guid isPermaLink="false">21795</guid><pubDate>Mon, 12 Oct 2020 11:48:08 +0000</pubDate></item><item><title>VM to umulate a cRIO</title><link>https://lavag.org/topic/21747-vm-to-umulate-a-crio/</link><description><![CDATA[<p>
	Hi all
</p>

<p>
	I need to test my <abbr title="LabVIEW">LV</abbr> RT update without real target (cRIO-9045) and I don't need to use the real I/O module and real FPGA, I want to test only the interface betwwen host application (on PC) and RT application (cRIO).
</p>

<p>
	To do that I've used<br>
	1)<strong> "ni-linux-rt-pxi-system-image-2019.09_19.5_online_repack2.exe"</strong><br>
	       to download the iso file :<strong> standard_x64_recovery.iso</strong> (84 MB)<br>
	2) After I 've Created a VM with Oracle VM 6.1 + “Oracle_VM_VirtualBox_Extension_Pack-6.1.12.vbox-extpack”<br>
	      Below the VM settings :
</p>

<p>
	 
</p>

<p>
	a) Linux Ubuntu 64bit and 2GB RAM                                                                          b) 10 GB 
</p>

<p>
	<span style="width:348px;"><span><img alt="1.JPG" data-ratio="70.98" height="247" title="1.JPG" width="348" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/imageproxy/0343e762d1065da73bc80b105d786554.jpeg.5c6d9072e6981f50d7c70e3079c3d212.jpeg"></span></span>       <span style="width:354px;"><span><img alt="2.JPG" data-ratio="75.64" height="267" title="2.JPG" width="354" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/imageproxy/ae02b653daf23a69420dc6f1bf7cbcb3.jpeg.46561b27006b9ac05e214dab65bdf039.jpeg"></span></span>
</p>

<p>
	 
</p>

<p>
	c) EFI selected                                                            d)  USB 3 controller for keyboard
</p>

<p>
	<span style="width:327px;"><span><img alt="3.JPG" data-ratio="70.34" height="230" title="3.JPG" width="327" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/imageproxy/e3118ca15cb945d11b893d0ea07ef91c.jpeg.8e39abb1c20b645cdc0f1f2f22f7e7b4.jpeg"></span></span><span style="width:328px;"><span><img alt="5.JPG" data-ratio="67.68" height="222" title="5.JPG" width="328" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/imageproxy/c8212d6b74e8b7cf7df29b6181ca4225.jpeg.58539f3c5a0ed31547731c2db8ffd54a.jpeg"></span></span>
</p>

<p>
	 
</p>

<p>
	e) selected the *.iso file                                          
</p>

<p>
	 
</p>

<p>
	<span style="width:291px;"><span><img alt="6.JPG" data-ratio="81.10" height="236" title="6.JPG" width="291" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/imageproxy/f4582742d66ee6eb0f50712c340c43f5.jpeg.5e403d15dc942f226e344431f1c5be28.jpeg"></span></span>
</p>

<p>
	 
</p>

<p>
	 3) after run ("avvia") and with keyboard arrow select "verbose mode" (keep in mind, the keyboards now works)
</p>

<p>
	 
</p>

<p>
	<span style="width:508px;"><span><img alt="7.jpg" data-ratio="82.68" height="420" title="7.jpg" width="508" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/imageproxy/d05a9784c17c10456a6e3d3b31088322.jpeg.872c0b46e5481f5f06c154f5be82261e.jpeg"></span></span>
</p>

<p>
	but when the installation arrives at the first choice option I'm not able to select anything because the keyboards on VM doesn't work
</p>

<p>
	 
</p>

<p>
	Any suggestion?
</p>

<p>
	Thanks
</p>
]]></description><guid isPermaLink="false">21747</guid><pubDate>Sun, 06 Sep 2020 18:48:43 +0000</pubDate></item><item><title>change Additional Installers path in application builder</title><link>https://lavag.org/topic/21740-change-additional-installers-path-in-application-builder/</link><description><![CDATA[<p>
	For legacy reasons all our software has to be installed in the main root drive under a new folder. It is easy to set this folder for the build executable but not for the NI Additional Installers (i.e. NI LabVIEW Runtime Engine).
</p>

<p>
	Is there a way to configure the default path for those extra installers from the Application Builder itself or from any LabVIEW configuration ?
</p>
]]></description><guid isPermaLink="false">21740</guid><pubDate>Mon, 31 Aug 2020 13:48:23 +0000</pubDate></item><item><title>Issue with VIPM and System Packages</title><link>https://lavag.org/topic/21708-issue-with-vipm-and-system-packages/</link><description><![CDATA[<p>
	I am using the newest version (2020.1) of VIPM, but I had this same issue with the release of 2020.
</p>

<p>
	For two of the packages that I have created for internal repos, VIPM has decided that I need a System Package.   The posts I have seem from JKI indicate that this is a sub-package that is used internally to the main package, and should be automatically included.
</p>

<p>
	However, after I am seeing issues on any PC other than the PC where the package was built.
</p>

<p>
	Is there a setting I am missing?
</p>

<p>
	 
</p>

<p>
	Showing the (System) package as a dependency:
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15166" data-ratio="76.86" width="821" alt="image.png.c0fcf17e4067f65a12e06e85465338cb.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_08/image.png.c0fcf17e4067f65a12e06e85465338cb.png">
</p>

<p>
	 
</p>

<p>
	Package Configuration in the VI Package Configuration Editor
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15167" data-ratio="26.77" width="848" alt="image.png.8a25bf9fb49f2d7337ade13159ecf523.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_08/image.png.8a25bf9fb49f2d7337ade13159ecf523.png">
</p>

<p>
	 
</p>

<p>
	Package installed, on the PC where the package was initially created (no issues, no exclamation mark)
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15168" data-ratio="96.96" width="494" alt="image.png.49483023edfd895c11ad0fbf52721f84.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_08/image.png.49483023edfd895c11ad0fbf52721f84.png">
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15169" data-ratio="6.19" width="501" alt="image.png.b649d164360dd0daab52e86b345e6fcd.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_08/image.png.b649d164360dd0daab52e86b345e6fcd.png">
</p>

<p>
	 
</p>

<p>
	Package when installed on another PC (NOTICE: the System Package name has changed and there is a red exclamation mark, but there are no errors shown on install of the package).
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15171" data-ratio="69.93" width="961" alt="image.png.a360dc8d4a84e10fb4132e13ed44c4f2.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_08/image.png.a360dc8d4a84e10fb4132e13ed44c4f2.png">
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15172" data-ratio="17.39" width="253" alt="image.png.89831b7ef1d2a72d7c32b162659f647b.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_08/image.png.89831b7ef1d2a72d7c32b162659f647b.png">
</p>

<p><a href="https://lavag.org/uploads/monthly_2020_08/image.png.9b8e91a89fac58e9055cecc2f1b441c5.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="15170" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="69.93" width="961" class="ipsImage ipsImage_thumbnailed" alt="image.png" data-src="https://lavag.org/uploads/monthly_2020_08/image.png.9b8e91a89fac58e9055cecc2f1b441c5.png"></a></p>]]></description><guid isPermaLink="false">21708</guid><pubDate>Wed, 05 Aug 2020 17:27:45 +0000</pubDate></item><item><title>Anybody having problems with VIPM 2020?  And how can i get VIPM 2019?</title><link>https://lavag.org/topic/21631-anybody-having-problems-with-vipm-2020-and-how-can-i-get-vipm-2019/</link><description><![CDATA[<p>
	I'm having trouble with VIPM 2020 (the one with the major redesign) .  The problem is the main VIPM window doesn't show up on my Windows 7 virtual machine.   I would like to downgrade to VIPM 2019, but I cannot find the installer for that anywhere.
</p>
]]></description><guid isPermaLink="false">21631</guid><pubDate>Thu, 25 Jun 2020 10:13:16 +0000</pubDate></item><item><title>C declarations of callbacks from VICodePtrsRec</title><link>https://lavag.org/topic/21636-c-declarations-of-callbacks-from-vicodeptrsrec/</link><description><![CDATA[<p>
	Do we have declarations of these callbacks? Ie. here's one:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">void __cdecl _InitCodePtrsProc(struct VICodePtrsRec **viCodePtrs);</span></pre>

<p>
	 
</p>

<p>
	Just to explain what I'm talking about:
</p>

<p>
	* VI files and other RSRC files, can contain compiled code stored in VICD resource
</p>

<p>
	* VICD consists of the actual assembly, and list of 'patches'; these patches combine function of imports table and relocation table
</p>

<p>
	* The actual assembly always has a InitCodePtrsProc() function, which sole purpose is to fill an array of code pointers which it receives as parameter
</p>

<p>
	* The code pointers are just references to other functions which exist in the assembly; there are up to 30 such callbacks
</p>

<p>
	* executing a VI file means just calling these callbacks, in proper order
</p>

<p>
	 
</p>

<p>
	It's not that hard to figure out the parameters of these callbacks, I'm just wondering if we already have that information.
</p>

<p>
	 
</p>

<p>
	Here's example init function for a very simple VI:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">void __cdecl _InitCodePtrsProc(struct VICodePtrsRec **viCodePtrs)
{
  struct VICodePtrsRec *ptr;

  _VINormalInitCProcsHelper(viCodePtrs); // Imported routine, pointed in list of patches
  ptr = *viCodePtrs;
  *((_DWORD *)ptr + 5) = _InitProc;
  *((_DWORD *)ptr + 25) = _CodeDebugProc;
  *((_DWORD *)ptr + 26) = _CodeErrHandlingProc;
  *((_DWORD *)ptr + 30) = _RunProc;
  *((_DWORD *)ptr + 28) = _InitCodePtrsProc;
}</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21636</guid><pubDate>Mon, 29 Jun 2020 19:39:32 +0000</pubDate></item><item><title>Open Package Building Discussion</title><link>https://lavag.org/topic/20640-open-package-building-discussion/</link><description><![CDATA[<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="125714" data-ipsquote-contentid="20634" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1537543547" data-ipsquote-userid="15232" data-ipsquote-username="ShaunR">
	<div class="ipsQuote_citation">
		On 9/21/2018 at 5:25 PM, ShaunR said:
	</div>

	<div class="ipsQuote_contents">
		<p>
			If VIPM isn't doing it as we would like; we can always go back to its predecessor to build in what we need (Tell us about your enhancements, Rolf <img alt=";)" data-emoticon="" src="https://lavag.org/uploads/emoticons/default_wink.png" title=";)"> )
		</p>
	</div>
</blockquote>

<p>
	It's nothing to fancy. I added a few things to the UI to support more features and in preparation of adding the VI renamining/relinking step that was done seperately in the OpenG DEAB tool before calling the OpenG package builder. But I never got around to really add the deab part into the package builder. It's kind of extra difficult as the DEAB compononent doesn't currently support newer features like lvclass and lvlib at all and of course no mallable VIs etc.
</p>

<p>
	I can post what I have somewhere, but don't get to excited.
</p>
]]></description><guid isPermaLink="false">20640</guid><pubDate>Mon, 01 Oct 2018 19:37:23 +0000</pubDate></item><item><title>Labview 2020 64-bit VIPM support</title><link>https://lavag.org/topic/21618-labview-2020-64-bit-vipm-support/</link><description><![CDATA[<p>
	I am struggling to get SQLite to install properly on one of my machines.  I just upgraded to Labview 2020 64-bit, but the VIPM does't seem to support SQLite unless I'm doing something wrong..?
</p>
]]></description><guid isPermaLink="false">21618</guid><pubDate>Wed, 17 Jun 2020 19:00:11 +0000</pubDate></item><item><title>Installer Edit API</title><link>https://lavag.org/topic/21587-installer-edit-api/</link><description><![CDATA[<p>
	Has anyone used the functions located in vi.lib to programmatically edit <em><strong>Installer </strong></em>build specifications? I have used the functions in AB_API to edit Packed Project Library build specifications (in PPL subfolder) but cannot find anything equivalent for Installers. The classes in this hierarchy inherit from NI_AB_API_Build.lvclass which has a generic open method, but installer is not in the list of selectable build types to open.
</p>

<p>
	I also found IB_Classes subfolder which has functions for interacting with Installers maybe, but there's no clear function to open an Installer build specification to start editing. I have a template project where I need to change three parameters for the Installer when the template is copied/edited: destination.name for one specific destination, INST_bldLocation, and INST_productName.
</p>

<p>
	This is an example of updating a few of the build specification items for a PPL (just need the equivalent for installers):
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14900" data-ratio="12.44" width="1021" alt="image.png.3b6cfa79f7a2b94e27a388652cc6ce19.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_05/image.png.3b6cfa79f7a2b94e27a388652cc6ce19.png">
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="o_1e8pm9k6fpmb1nv51fr36951p96b" alt="" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="o_1e8pm9k6fpmb1nv51fr36951p96b" alt="" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="o_1e8pm9k6fpmb1nv51fr36951p96b" alt="" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="o_1e8pm9k6fpmb1nv51fr36951p96b" alt="" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="o_1e8pm9k6fpmb1nv51fr36951p96b" alt="" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="o_1e8pm9k6fpmb1nv51fr36951p96b" alt="" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="o_1e8pm9k6fpmb1nv51fr36951p96b" alt="" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="o_1e8pm9k6fpmb1nv51fr36951p96b" alt="" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="">
</p>
]]></description><guid isPermaLink="false">21587</guid><pubDate>Wed, 20 May 2020 18:47:32 +0000</pubDate></item><item><title>Add menu to Build Specification Property Window</title><link>https://lavag.org/topic/21481-add-menu-to-build-specification-property-window/</link><description><![CDATA[<p style="background-color:#ffffff;color:#353c41;font-size:14px;">
	<span>Hello dear LabVIEW community.</span>
</p>

<p style="background-color:#ffffff;color:#353c41;font-size:14px;">
	<span>Does anyone know if there is a way to hook Build Specification Executable Properties window in order to add a custom configuration panel? (cf. screenshot). I don't know if this can be achieved through LabVIEW project providers but I can't find any information about this subject.</span>
</p>

<p style="background-color:#ffffff;color:#353c41;font-size:14px;">
	Thank you in advance to anyone who can provide help or informations.
</p>

<p><a href="https://lavag.org/uploads/monthly_2020_04/1597580840_Screen2.png.f14113b6ef8820b85cfee7879930ac96.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="14698" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="67.14" width="852" class="ipsImage ipsImage_thumbnailed" alt="Screen 2.png" data-src="https://lavag.org/uploads/monthly_2020_04/1597580840_Screen2.png.f14113b6ef8820b85cfee7879930ac96.png"></a></p>]]></description><guid isPermaLink="false">21481</guid><pubDate>Sun, 05 Apr 2020 19:28:42 +0000</pubDate></item><item><title>Nested Malleable vis breaks vipc build?</title><link>https://lavag.org/topic/21276-nested-malleable-vis-breaks-vipc-build/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I'm having problems building a vipc from a vipb with files containing nested vims. Getting the following error from VIPM:
</p>

<pre class="ipsCode">
ERROR: 7: VIPM API_vipm_api.lvlib:Parse Build Return Message_vipm_api.vi&lt;ERR&gt;
Code:: 7
Source:: 0053C289D635723F5DC0A4F08297566A&lt;ERR&gt;
The following source VIs or Libraries are missing.
Please correct this problem before rebuilding.

b39afad9-8321-4719-86a9-dddab325fc87.vi

The following source VIs or Libraries are the callers of missing files

BitsSetter.vim</pre>

<p>
	I created a zip with the vims and the vipb file. Any suggestions how to fix this?<br>
	Opening the files shows no errors. Replacing the nested vim with its actual implementation fixes the problem but I don't want to give in just yet.
</p>

<p>
	I'm on <abbr title="LabVIEW">LV</abbr> 18.0.1f4 64bit with VIPM 2018.0.0f1
</p>

<p>
	Cheers
</p>

<p>
	<a class="ipsAttachLink" data-fileext="zip" data-fileid="14456" href="https://lavag.org/applications/core/interface/file/attachment.php?id=14456" rel="">bits.zip</a>
</p>
]]></description><guid isPermaLink="false">21276</guid><pubDate>Mon, 18 Nov 2019 23:37:36 +0000</pubDate></item><item><title>Finding dll dependencies</title><link>https://lavag.org/topic/21300-finding-dll-dependencies/</link><description><![CDATA[<p>
	This solved an issue of not knowing which additional dll's to include when building the exe. One dll may call a number of other dll's etc.
</p>

<p>
	Used PowerShell &amp; ran the following:
</p>

<p>
	<span><code>[Reflection.Assembly]::LoadFile('C:\absolute\path\to\my.dll').GetReferencedAssemblies()</code></span>
</p>

<p>
	 
</p>

<p>
	This neatly produces a list
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14493" data-ratio="53.09" width="388" alt="image.png.7590d3b92305e47881e7ecb240971af1.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2019_12/image.png.7590d3b92305e47881e7ecb240971af1.png">
</p>
]]></description><guid isPermaLink="false">21300</guid><pubDate>Wed, 11 Dec 2019 11:04:55 +0000</pubDate></item><item><title><![CDATA[Argh, Exe builder says my VI is broken, but it&#39;s not]]></title><link>https://lavag.org/topic/11989-argh-exe-builder-says-my-vi-is-broken-but-its-not/</link><description><![CDATA[<p>I had built this VI several times with <abbr title="LabVIEW">LV</abbr> 2009. Now since I loaded Service Pack 1 I'm getting an error when I build an executable that says this:</p>
<p></p>
<p></p><div style="margin-left:25px;">The VI is broken. Open the VI in LabVIEW and fix the errors.</div>
<p></p><div style="margin-left:25px;">Error 1003 occurred at AB_Application.lvclass:Open_Top_Level_VIs.vi -&gt; AB_Build.lvclass:Build.vi -&gt; AB_Application.lvclass:Build.vi -&gt; AB_EXE.lvclass:Build.vi -&gt; AB_Build.lvclass:Build_from_Wizard.vi -&gt; AB_UI_Frmwk_Build.lvclass:Build.vi -&gt; AB_UI_FRAMEWORK.vi -&gt; AB_Item_OnDoProperties.vi -&gt; AB_Item_OnDoProperties.vi.ProxyCaller</div>
<p></p><div style="margin-left:25px;">Possible reason(s):</div>
<p></p><div style="margin-left:25px;">LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File&gt;&gt;Open to open the VI and then verify that you are able to run it.</div>
<p>Well my VI isn't broken and it runs fine in the development system. I've shut down and restarted <abbr title="LabVIEW">LV</abbr> with no luck. I can't see anything odd in the project. Any ideas? I just know NI is going to tell me to rebuild the project if I call them. BTW, I am able to build other executables.</p>
<p>&lt;br&gt;&lt;br&gt;George&lt;br&gt;&lt;br&gt;PS. I just rebuilt the Exe builder with no luck.&lt;br&gt;</p>
]]></description><guid isPermaLink="false">11989</guid><pubDate>Wed, 24 Feb 2010 13:29:41 +0000</pubDate></item><item><title>Silent Install of LV2019 RTE</title><link>https://lavag.org/topic/21189-silent-install-of-lv2019-rte/</link><description><![CDATA[<p>
	I have a legacy application I am updating to use LV2019. It has an installer for the application which installs the run-time engine and the application itself (and a bunch of other stuff). This is done using InnoSetup and not NI's installer creator. Previously, I was able to run the RTE install in totally silent mode where no popups or anything came up on the screen, I would like to do the same thing but cannot use the same parameters as 2019 uses the new NIPM format.
</p>

<p>
	I can get the installer to run through from start to finish with no user interaction using:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">install.exe --passive --accept-eulas --prevent-reboot</span></pre>

<p>
	However during install it pops up its own dialogue.
</p>

<p>
	Does anyone know how I can suppress this dialogue?
</p>
]]></description><guid isPermaLink="false">21189</guid><pubDate>Fri, 13 Sep 2019 18:16:51 +0000</pubDate></item><item><title>Actor Framework and long build times (x-post from NI Forums)</title><link>https://lavag.org/topic/21146-actor-framework-and-long-build-times-x-post-from-ni-forums/</link><description><![CDATA[<p>
	Want to cross-post this discussion from NI Forums and see if anyone here has suggestions.
</p>

<p>
	<a href="https://forums.ni.com/t5/Actor-Framework-Discussions/Looking-for-IDE-Performance-Optimization-Suggestions/m-p/3961791#M6126" rel="external nofollow">https://forums.ni.com/t5/Actor-Framework-Discussions/Looking-for-IDE-Performance-Optimization-Suggestions/m-p/3961791#M6126</a>
</p>

<p>
	Boils down to, as you build large projects with AF are long build times unavoidable? What are best practices for avoiding long build times while working with AF?
</p>

<p>
	Is there is a compilation of all the "tribal knowledge" about best AF/OOP coding practices for keeping build and IDE performance manageable?
</p>
]]></description><guid isPermaLink="false">21146</guid><pubDate>Tue, 20 Aug 2019 23:21:12 +0000</pubDate></item><item><title>Load Warnings When Building</title><link>https://lavag.org/topic/20864-load-warnings-when-building/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	Today I started getting a Load Warning Summary when running my .exe build specification - no idea why, and it is causing the generated .exe to be broken.
</p>

<p>
	I think it's basically saying in the Load and Save Warning List message box attached that LabVIEW is loading DataStorage.lvclass from within the .exe, when it was expecting it to be within the source code.<br>
	The build completes, but with a broken arrow as the .exe can't find DataStorage.lvclass
</p>

<p>
	All I've done today is add some functions to the class, but nothing major.
</p>

<p>
	I've tried multiple things to fix it, including a Mass Compile but to no avail.
</p>

<p>
	My next step is to revert back a couple of versions to find a version that will build so I can track down what I did to break it.<br>
	<br>
	The other thing to say is that this error message appears when about 50% of the way through running the build (during Compile), so it's like when LabVIEW tries to load the class from the vi during the build it's loading it from the .exe rather than source code !?
</p>

<p>
	Any ideas would be appreciated if you've seen a problem like this before.
</p>

<p>
	Thanks,
</p>

<p>
	Martin
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_2019_04/385393371_LoadandSaveWarningList.png.6db63d299ba71606f4f336396d4374fc.png" data-fileid="14003" data-fileext="png" rel=""><img alt="Load and Save Warning List.png" class="ipsImage ipsImage_thumbnailed" data-fileid="14003" data-ratio="56.83" width="1186" src="https://lavag.org/uploads/monthly_2019_04/385393371_LoadandSaveWarningList.png.6db63d299ba71606f4f336396d4374fc.png"><span> </span></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_2019_04/1288483532_LoadWarningSummary.png.c053382bca3c044ce145fedfbab7e45c.png" data-fileid="14001" data-fileext="png" rel=""><img alt="Load Warning Summary.png" class="ipsImage ipsImage_thumbnailed" data-fileid="14001" data-ratio="96.93" width="522" src="https://lavag.org/uploads/monthly_2019_04/1288483532_LoadWarningSummary.png.c053382bca3c044ce145fedfbab7e45c.png"></a>
</p>

<p><a href="https://lavag.org/uploads/monthly_2019_04/2011968778_FindMissingVI.png.a01f6ada8a38eddbab4066da5b598993.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="14004" src="https://lavag.org/uploads/monthly_2019_04/2011968778_FindMissingVI.png.a01f6ada8a38eddbab4066da5b598993.png" data-ratio="29.72" width="996" class="ipsImage ipsImage_thumbnailed" alt="Find Missing VI.png"></a></p>]]></description><guid isPermaLink="false">20864</guid><pubDate>Thu, 11 Apr 2019 18:51:27 +0000</pubDate></item><item><title>Development Env packager</title><link>https://lavag.org/topic/20835-development-env-packager/</link><description><![CDATA[<p>
	Hi, 
</p>

<p>
	Most of us here build applications and add to it user manuals and readme files that instruct how to install the app and what its requirements are.
</p>

<p>
	However, we don't give the same level of documentation to the development env so that we could manage the source code from another computer in a few years.
</p>

<p>
	You might lose track of the <abbr title="LabVIEW">LV</abbr> version, modules, addons, vipms, folder structure, win version, 3rd party tools/activex/dll/db, <abbr title="LabVIEW">LV</abbr> ini, system settings, methodology/architecture, passwords and so on.
</p>

<p>
	I would love to hear how you approach that issue (docker VMs? Jenkins with a build from repository dedicated station?).
</p>

<p>
	For now, to make it simple, I'll ask if there is a way to install <abbr title="LabVIEW">LV</abbr> automatically without having to install and modify manually:
</p>

<p>
	1. <abbr title="LabVIEW">LV</abbr> ini and configurations
</p>

<p>
	2. All the VIPMs that I currently use
</p>

<p>
	3. NI Modules
</p>

<p>
	4. 3rd party tools like activex and dlls
</p>

<p>
	It takes hours if not days to install everything.
</p>

<p>
	Is there a way to have such a bundle automatically installed when for example I upgrade <abbr title="LabVIEW">LV</abbr> or reinstall it on a different computer without me writing my own installation automation as I do for customer applications?
</p>

<p>
	It will be crazy if I would have to update my installation automation each time I add a new VIPM or addon or save something new to the user.lib for each application I write for each version
</p>

<p>
	For the first stage, I would be satisfied with a one-click unattended silent install of 20 VIPMs with <abbr title="LabVIEW">LV</abbr> env customization
</p>
]]></description><guid isPermaLink="false">20835</guid><pubDate>Tue, 26 Mar 2019 13:11:39 +0000</pubDate></item><item><title>NI-DAQ legacy driver missing</title><link>https://lavag.org/topic/20780-ni-daq-legacy-driver-missing/</link><description><![CDATA[<p>
	does anyone have a downloaded copy of Traditional NI-DAQ (Legacy) 7.4?
</p>

<p>
	NI has a download page for the file TDAQ740.zip (<a href="http://www.ni.com/download/traditional-ni-daq-legacy-7.4/587/en/" rel="external nofollow">http://www.ni.com/download/traditional-ni-daq-legacy-7.4/587/en/</a>), but the link won´t work.
</p>
]]></description><guid isPermaLink="false">20780</guid><pubDate>Fri, 08 Feb 2019 23:43:06 +0000</pubDate></item><item><title>Programmatic Build does not update tags in Project</title><link>https://lavag.org/topic/20734-programmatic-build-does-not-update-tags-in-project/</link><description><![CDATA[<p>
	I am trying to get a build script going, and I use the destination folder format with the tag [VersionNumber] in the Primary Destination Path (<a href="http://digital.ni.com/public.nsf/allkb/617928B8E8DE3B6C86257CC400429194" rel="external nofollow">http://digital.ni.com/public.nsf/allkb/617928B8E8DE3B6C86257CC400429194</a>)
</p>

<p>
	What is happening is that when I do my programmatic build, the lvproject only "remembers" the last build I manually did through the project itself, instead of the programmatic build.
</p>

<p>
	for example, say I right click on my executable build specification, select "build".  My build will run, complete, and then all the files will be stored in the folder builds\EXE 1.0.0.0.  The flag "Auto Increment" is set to True. 
</p>

<p>
	Now, I run my build script 5 times.  I will have folders EXE 1.0.0.1 through EXE 1.0.0.5.  I open my exe build specification in the labview project, navigate to the "Version Information" page, and the Version Number correctly shows 1.0.0.6 as the next build number.  So my build script is updating the build specification with the correct auto increment, and I have verified that LabVIEW is creating the correct files in the correct folder.
</p>

<p>
	But, when I go to the build specification, right click and select "Explore", LabVIEW opens the EXE 1.0.0.0 folder, instead of the EXE 1.0.0.5 folder.
</p>

<p>
	The consequence is that when I do an installer build, LabVIEW thinks that the 1.0.0.0 build was the last build, so the incorrect exe is copied into the installer.
</p>

<p>
	Has anyone run into this issue with programmatic builds?
</p>

<p><a href="https://lavag.org/uploads/monthly_2018_12/103712072_buildsteps.PNG.1ff979ccf4d0a1c93a8019bca9004492.PNG" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="13682" src="https://lavag.org/uploads/monthly_2018_12/1081456658_buildsteps.thumb.PNG.d1c35ec1eef1b6fc64dda08e1712361f.PNG" class="ipsImage ipsImage_thumbnailed" alt="build steps.PNG"></a></p>]]></description><guid isPermaLink="false">20734</guid><pubDate>Fri, 28 Dec 2018 18:36:09 +0000</pubDate></item><item><title>Packaging a LabVIEW project</title><link>https://lavag.org/topic/20702-packaging-a-labview-project/</link><description><![CDATA[<p>
	Hi
</p>

<p>
	I have a question about general rule of packaging and distributing LabVIEW code.
</p>

<p>
	I have a LabVIEW project (please see below tree structure) which contains numerous VI sample code which invokes function calls in the dll (PVCamNET.dll).
</p>

<p>
	As the project needs to be shipped to the world I would like to package it more professionally than zipping the entire folder. 
</p>

<p>
	Note the folders, DemoApp and Examples contain VI code.
</p>

<p>
	Looking at <a href="http://www.ni.com/tutorial/3303/en/" rel="external nofollow">the build specifications </a> there seem to be many options for packaging.
</p>

<p>
	I have a DLL enclosed in the folder and besides the VIs the DLL must be part of the project.
</p>

<p>
	 
</p>

<p>
	My question is quite simple - what is the best way to package this project for the user to play with the VI code ?
</p>

<p>
	 
</p>

<p>
	Thanks!
</p>

<p>
	 
</p>

<p><a href="https://lavag.org/uploads/monthly_2018_11/Capture.JPG.562e6aaeac0bf2f6109df8d9a3277593.JPG" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="13600" src="https://lavag.org/uploads/monthly_2018_11/Capture.JPG.562e6aaeac0bf2f6109df8d9a3277593.JPG" class="ipsImage ipsImage_thumbnailed" alt="Capture.JPG"></a></p>]]></description><guid isPermaLink="false">20702</guid><pubDate>Thu, 22 Nov 2018 22:06:23 +0000</pubDate></item><item><title>Issue updating VIPM from 2017 to 2018</title><link>https://lavag.org/topic/20694-issue-updating-vipm-from-2017-to-2018/</link><description><![CDATA[<p>
	Posted this on the <a href="https://forums.jki.net/topic/2738-updating-vipm-2017-to-2018/" rel="external nofollow">JKI VIPM forum </a>a week back but haven't gotten a response yet.
</p>

<p>
	I've installed LabVIEW 2018 which also attempted to update VIPM. LabVIEW installed OK, but VIPM failed to install. Been getting the message ﻿﻿"The older version of VI Package Manager 2018 f1 cannot be removed. Contact your technical support group." Anyone seen this before?
</p>

<p>
	Tried uninstalling VIPM then reinstalling through LabVIEW installer with no luck.
</p>
]]></description><guid isPermaLink="false">20694</guid><pubDate>Wed, 14 Nov 2018 16:21:40 +0000</pubDate></item><item><title>GPM Private Publishing</title><link>https://lavag.org/topic/20676-gpm-private-publishing/</link><description><![CDATA[<p>
	Since stumbling across the  G Package Manager (GPM) while looking through <a href="https://lavag.org/topic/20640-open-package-building-discussion/?tab=comments#comment-125752" rel="">this</a> discussion on package managing I can't shake the idea that is is precisely the system that I would like to implement throughout the rest of the developers in my team for working on LabVIEW projects across multiple sites and with parallel upgrades to code to handle ongoing facility updates.
</p>

<p>
	However as I am sure is the case with many companies, we need to maintain our data locally for corporate reasons. There was a reference to being able to have a local repository in the initial NI Week presentation by Derek but since then I have not seen any other reference to it and there is limited information available about the processes. Has anyone got any experience with the operation of GPM for internal use, or even any use with GPM in general? From looking through the Lava and NI forums, doesn't seem like many people have picked it up or at least haven't posted anything about their experiences with it.
</p>
]]></description><guid isPermaLink="false">20676</guid><pubDate>Tue, 06 Nov 2018 11:05:17 +0000</pubDate></item><item><title>Code Sharing Best Practices</title><link>https://lavag.org/topic/20634-code-sharing-best-practices/</link><description><![CDATA[<p>
	One of the main topics of the 2018 CLA Summit was the need to improve access to open source code in the LabVIEW community.  This is something that I have tried to do in the past with limited success.  After hearing what others are doing and discussing the issues, I am inspired to take on the task of getting as much of my code that is shareable out into the open for others to use, improve, learn from and critique.  So, the point of this thread is to figure out how best to do that.
</p>

<p>
	I have tried posting code to forums in the past.  I have even posted to the code repository here on LAVA.  I have used code posted here and via the tools network and VIPM in my own projects.  But I am not sure if any of those avenues are the right path forward for me.  There was much discussion about different open source repositories on the interwebs that we could leverage.  There was also some discussion about how to help others discover the code you shared.  What I did not hear was any definitive conclusions on how best to do this.
</p>

<p>
	So, the point of this thread is to try to solicit feedback on code sharing and come to some sort of consensus on the best options out there.  If you have an opinion on this please join the conversation and share what you think is the best solution.   Here are some questions I am trying to answer:
</p>

<p>
	1. Where should we share code?  What system works best for LabVIEW code and is user friendly enough to not discourage people from using it?  Please share links and how-to documents for your preferred site/system.
</p>

<p>
	2. How should we license code?  I heard some discussion about the various type of licenses.  I am not interested in retaining any rights to code I share and do not want to put any burdens on those who want to use and learn from any code I share.  What licence is accepted in the open source community that supports this kind of sharing?
</p>

<p>
	3. Once we post, how do we make our code discoverable?  Do we need to post links all over the place or is there a better way?  Here is one attempt at making that better you should check out if you have not already: 
</p>
<iframe data-embedcontent="" frameborder="0" src="https://lavag.org/topic/20629-labview-content-landing-page/?do=embed"></iframe>

<p>
	 
</p>

<p>
	I am not just interested in putting the code out there, but also trying to explain why I think it is worth your time to take a look.  I am willing to post on forums, create a blog, even produce some vlogs on YouTube if it is the best option.   Please let me know what format would motivate you to take the time to learn about the open source code out there.
</p>

<p>
	Either way, thanks for taking the time to read this thread and contribute what you can, even if it is just to follow the discussion and learn from others like I am trying to do.
</p>

<p>
	-John
</p>
]]></description><guid isPermaLink="false">20634</guid><pubDate>Thu, 20 Sep 2018 22:54:07 +0000</pubDate></item><item><title>DSC Modbus I/O server in executable</title><link>https://lavag.org/topic/20567-dsc-modbus-io-server-in-executable/</link><description><![CDATA[<p>
	This is a DSC module question: has anybody here experience with building standalone executables which include shared variables bound to DSC modbus i/o servers? I have an issue with deployment, possibly related to licensing. I posted on the dark side, but haven't got feedback yet.
</p>

<p>
	<a href="https://forums.ni.com/t5/LabVIEW/shared-variable-bound-to-Modbus-i-o-not-working-in-deployed/td-p/3809801" rel="external nofollow">https://forums.ni.com/t5/LabVIEW/shared-variable-bound-to-Modbus-i-o-not-working-in-deployed/td-p/3809801</a>
</p>

<p>
	TIA, Enrico
</p>
]]></description><guid isPermaLink="false">20567</guid><pubDate>Fri, 29 Jun 2018 10:41:23 +0000</pubDate></item><item><title>Building VIs into a package expands controls and BD elements</title><link>https://lavag.org/topic/20524-building-vis-into-a-package-expands-controls-and-bd-elements/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I'm using VIPM to build my device drivers and project templates into vi packages which are then used by other developers. During the build process some of the front panel elements get blown up as if the text size was changed and then reduced again but the size of the control doesn't return to its original size. A similar thing happens on the block diagram. Some structures (set to auto-grow) end up wider in the package than in their original source as if a BD element inside the structure was increased in size and then decreased again. While that's not a terrible thing to happen in the drivers, it really kills the templates because the first hour is spent to fix up cosmetics...
</p>

<p>
	I've attached some screenshots.
</p>

<p>
	Anyone know how to fix that?
</p>

<p><a href="https://lavag.org/uploads/monthly_2018_05/bd.PNG.e7ccd0a0b24e633f6c30a91e08735cb6.PNG" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="13144" src="https://lavag.org/uploads/monthly_2018_05/bd.thumb.PNG.4d907667298967c6e04989edb84587c6.PNG" class="ipsImage ipsImage_thumbnailed" alt="bd.PNG"></a></p>
<p><a href="https://lavag.org/uploads/monthly_2018_05/control.PNG.20e380fc87120ff5193fe74c5ed95c23.PNG" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="13143" src="https://lavag.org/uploads/monthly_2018_05/control.PNG.20e380fc87120ff5193fe74c5ed95c23.PNG" class="ipsImage ipsImage_thumbnailed" alt="control.PNG"></a></p>]]></description><guid isPermaLink="false">20524</guid><pubDate>Thu, 17 May 2018 10:38:49 +0000</pubDate></item><item><title>Programmatic Top-level in .llb</title><link>https://lavag.org/topic/20502-programmatic-top-level-in-llb/</link><description><![CDATA[<p>
	Mostly a curiosity, it would be the cherry on the cake for a build specification which generates a distributable .llb (build Source Distribution, Destinations/Destination type: llb): is someone aware of a way of making some file appear as top-level in the built llb? Either as build spec option or postbuild scripting? I found none. LV2014 presently, but I'd suppose it isn't there in later <abbr title="LabVIEW">LV</abbr> either.
</p>]]></description><guid isPermaLink="false">20502</guid><pubDate>Thu, 26 Apr 2018 16:16:00 +0000</pubDate></item><item><title>Register-WMIEvent Win32_ProcessStopTrace</title><link>https://lavag.org/topic/20500-register-wmievent-win32_processstoptrace/</link><description><![CDATA[<p>
	I want the Windows system to react to the start and stop of my LabVIEW application.
</p>

<p>
	I register the events Win32_ProcessStartTrace and Win32_ProcessStopTrace for my .exe using Register-WMIEvent in Powershell.
</p>

<p>
	Only the start event comes, never the stop event.
</p>

<p>
	It works correctly with other exes such as notepad.exe, excel.exe, firefox.exe.
</p>
]]></description><guid isPermaLink="false">20500</guid><pubDate>Thu, 26 Apr 2018 14:54:00 +0000</pubDate></item><item><title>LV DLL creates mysterious DoubleArray class</title><link>https://lavag.org/topic/20486-lv-dll-creates-mysterious-doublearray-class/</link><description><![CDATA[<p>
	So I created a DLL from a Labview VI that has a 2D array input (and some scalar inputs) and some 2D array outputs.  Labview creates a .h file with these lines
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="13081" src="https://lavag.org/uploads/monthly_2018_04/DoubleArray.PNG.3bbe690b608ef60dcbdca4734f93a0da.PNG" alt="DoubleArray.PNG"></p>

<p>
	And then it defines the 2D array arguments to my function as being of this type: "void __cdecl Linear_discrim_4dll(DoubleArray *dataObsFeat, int32_t grpAsz," etc etc.  Trouble is, I have no idea how to fill out this structure so that the DLL can use it.  Say for simplicity I had a 2 by 3 input called dataObsFeat with elements {1,2,3; 11,12,13}; how would I create the object with these values in C or C++ and pass it to the function?  I am a total C++ noob, in case it isn't obvious.
</p>
]]></description><guid isPermaLink="false">20486</guid><pubDate>Wed, 11 Apr 2018 14:53:50 +0000</pubDate></item><item><title>How to configure Project.Save For Previous to ignore vis from instr.lib</title><link>https://lavag.org/topic/20438-how-to-configure-projectsave-for-previous-to-ignore-vis-from-instrlib/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I would like to automate downgrading process for few LabVIEW projects from LV17 to LV14. I use <strong>Project.Save for Previous </strong>method and it works fine for simple projects. It ignores everything that <a href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019KntSAE" rel="external nofollow">lives in vi.lib (KB).</a>
</p>

<p>
	But if I have a project that refers to toolkits located in <strong>instr.lib</strong> like instrument drivers, NI-DMM or NI-DCPower, saving for previous <strong>exports some of them</strong> to my destination folder. Interesting fact: I receive a warning, that NI-DMM and NI-DCPower were not converted (good news), but niModInst (part of NI-DCPower) was! And, of course, third-party instrument drivers (PSU drivers) were also converted. As you know, It greatly changes the destination folder hierarchy and alters references to these VIs in my project. I don't want to save these external files and toolkits for previous version, because I already have them in a different <abbr title="LabVIEW">LV</abbr> version installed. They are toolkits indeed and not project specific files.
</p>

<p>
	Have you ever tried to setup Save for Previous function so it really ignores <strong>instr.lib? </strong>Or maybe, is there a way to setup third-party toolkits in instr.lib so they act like NI-DMM? Like "I don't support saving for previous, please be kind and install me for a different <abbr title="LabVIEW">LV</abbr> version by yourself"? 
</p>

<p>
	It is a pain, honestly <img alt=":frusty:" data-emoticon="" src="https://lavag.org/uploads/emoticons/default_frusty.gif" title=":frusty:"></p>
]]></description><guid isPermaLink="false">20438</guid><pubDate>Fri, 23 Feb 2018 09:39:24 +0000</pubDate></item><item><title><![CDATA[LV RTE 2017 & Windows7Ultimate]]></title><link>https://lavag.org/topic/20401-lv-rte-2017-windows7ultimate/</link><description><![CDATA[<p>
	Hi all,
</p>

<p>
	I have an application that works fine on my developpement computer (Windows 7 pro 64bit).<br>
	This application basically handles database and communications with some PLC's.
</p>

<p>
	<br>
	When using the same build on a customer's computer running windows 7 ultimate, it starts really nice, the communications, display and database are all ok.<br>
	But after some amount of time (not always the same, from 5 minutes to 1hour) the whole computer crashes. The display is frozen and there's no way to take control back.<br>
	I have to remove the power supply to make it work.<br>
	 
</p>

<p>
	I checked the same software without most loops, it does the same,<br>
	I made a small test software (state machine activating and deactivating a boolean and counting every second), it does the same as my main software.<br>
	I checked the full software on another windows 7 pro computer, no issue. It's still running like it has been running on mine for more than 24hours.<br>
	 
</p>

<p>
	The customer's computer is an industrial computer i7-6700 3,4GHz ; 8GB DDR4 Ram, Windows Seven Ultimate 64bit.
</p>

<p>
	 
</p>

<p>
	So here's my question, are there any know issue with labview application or labview RTE 2017f2 and windows 7 ultimate ?<br>
	Or maybe you have any idea of what could be wrong ?
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">20401</guid><pubDate>Fri, 12 Jan 2018 12:33:41 +0000</pubDate></item><item><title>Debugging my executable crashes LabVIEW</title><link>https://lavag.org/topic/20319-debugging-my-executable-crashes-labview/</link><description><![CDATA[<p>
	I built my executable with Debug and "Wait for debugger on launch" enabled.<br>
	When I run it and attach with LabVIEW, it downloads the vis and then crashes <abbr title="LabVIEW">LV</abbr>. The application remains open and not running. I never get to see the local debug version of the application in <abbr title="LabVIEW">LV</abbr>. If I open the source it runs without problems. The executable runs too, but only if there is LabVIEW installed on the machine - that's why I started debugging it. See crash log below, which I'm not sure how to interpret. The two vis mentioned in there are not broken in the IDE.
</p>

<p>
	Any ideas what to do next?
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">####
#Date: Tue, 10 Oct 2017 14:42:22
#OSName: Windows 10 Pro 
#OSVers: 10.0
#OSBuild: 15063
#AppName: LabVIEW
#Version: 16.0f2 32-bit
#AppKind: FDS
#AppModDate: 2/13/2017 09:03 GMT
#LabVIEW Base Address: 0x00400000


InitExecSystem() call to GetCurrProcessNumProcessors() reports: 4 processors
InitExecSystem() call to GetNumProcessors()            reports: 4 processors
InitExecSystem()                                      will use: 4 processors
starting LabVIEW Execution System 2 Thread 0 , capacity: 24 at [3590451742.90439940, (14:42:22.904399395 2017:10:10)]
starting LabVIEW Execution System 2 Thread 1 , capacity: 24 at [3590451742.90439940, (14:42:22.904399395 2017:10:10)]
starting LabVIEW Execution System 2 Thread 2 , capacity: 24 at [3590451742.90439940, (14:42:22.904399395 2017:10:10)]
starting LabVIEW Execution System 2 Thread 3 , capacity: 24 at [3590451742.90439940, (14:42:22.904399395 2017:10:10)]
starting LabVIEW Execution System 5 Thread 0 , capacity: 24 at [3590451744.55625770, (14:42:24.556257725 2017:10:10)]
starting LabVIEW Execution System 5 Thread 1 , capacity: 24 at [3590451744.55625770, (14:42:24.556257725 2017:10:10)]
starting LabVIEW Execution System 5 Thread 2 , capacity: 24 at [3590451744.55625770, (14:42:24.556257725 2017:10:10)]
starting LabVIEW Execution System 5 Thread 3 , capacity: 24 at [3590451744.55625770, (14:42:24.556257725 2017:10:10)]

</span><span class="tag">&lt;DEBUG_OUTPUT&gt;</span><span class="pln">
10/10/2017 14:43:21.731
DWarn 0x5C359BD0: no freeRange list or no elements
e:\builds\penguin\labview\branches\2016\dev\source\vi\cloneVI.cpp(412) : DWarn 0x5C359BD0: no freeRange list or no elements
minidump id: 5a131b3f-9e0e-4462-a33f-36b0f8b94d96
$Id: //labview/branches/2016/dev/source/vi/cloneVI.cpp#6 $

</span><span class="tag">&lt;/DEBUG_OUTPUT&gt;</span><span class="pln">
0x006997BC - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x10014A44 - mgcore_SH_16_0 </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018B1176 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018B18E5 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01884365 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018846A5 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018A5903 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01836EAA - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018AF415 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x009A1299 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x009B0166 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00FE0918 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01101929 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00FDE022 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x013D2047 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x013D2ADB - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00BA92D1 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01EB4817 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01F661E5 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01EB492C - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01EE0978 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01F657A4 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01F4CECB - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00AE5A05 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0145A8F8 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0145A91B - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00BA7981 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01600F1B - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01605C71 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01607D18 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01EB4817 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00CAF9BF - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00CB2189 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00CB254E - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01EC0329 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01F661E5 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
*** Dumping Bread Crumb Stack ***
*** LabVIEW Base Address: 0x00400000 ***
#** prop types: "C:\Users\MFG-LaserCal-1\Desktop\build\LaserCalV2.exe\1abvi3w\user.lib\_LVCommon\LcProcessSpecs_class\utils\LcProcessSpecs_New.vi"
#** Loading: "C:\Users\MFG-LaserCal-1\Desktop\build\LaserCalV2.exe\1abvi3w\user.lib\_LVCommon\LcProcessSpecs_class\utils\LcProcessSpecs_New.vi"
*** End Dump ***

</span><span class="tag">&lt;DEBUG_OUTPUT&gt;</span><span class="pln">
10/10/2017 14:43:26.805
DWarn 0x5C359BD0: no freeRange list or no elements
e:\builds\penguin\labview\branches\2016\dev\source\vi\cloneVI.cpp(412) : DWarn 0x5C359BD0: no freeRange list or no elements
minidump id: 9e03b61f-a952-492f-84a7-1c132e2646f1
$Id: //labview/branches/2016/dev/source/vi/cloneVI.cpp#6 $

</span><span class="tag">&lt;/DEBUG_OUTPUT&gt;</span><span class="pln">
0x006997BC - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x10014A44 - mgcore_SH_16_0 </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018B1176 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018B18E5 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01839216 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0183473D - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0183A560 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01823ED2 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018241BD - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01822664 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01821D18 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0183A3EB - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0181AE5D - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0181EECD - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0181F8BA - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x010F4FED - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01100B34 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0046C5D2 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0046C7EA - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x0046C8F5 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00FDF8AD - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018298E4 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018290BC - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018224B2 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00FB1224 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00FB1371 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01822FFA - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x018216C1 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x010F3551 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01101117 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00FDE022 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x013D2047 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x013D2ADB - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00BA92D1 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01EB4817 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x01F661E5 - LabVIEW </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
*** Dumping Bread Crumb Stack ***
*** LabVIEW Base Address: 0x00400000 ***
#** Loading: "C:\Users\MFG-LaserCal-1\Desktop\build\LaserCalV2.exe\1abvi3w\instr.lib\_BarajaDrivers\Tunable Lasers\VdYenistaT100S_class\Example\Example1.vi\2"
#** Loading: "C:\Users\MFG-LaserCal-1\Desktop\build\LaserCalV2.exe\1abvi3w\instr.lib\_BarajaDrivers\Tunable Lasers\VdYenistaT100S_class\Example\Example1.vi"
*** End Dump ***

</span><span class="tag">&lt;DEBUG_OUTPUT&gt;</span><span class="pln">
10/10/2017 14:43:29.020
Crash 0x00000000: Crash caught by NIER
File Unknown(0) : Crash 0x00000000: Crash caught by NIER
minidump id: 6b19dd9c-e4a7-433e-b736-08a8fdd75b3e
ExceptionCode: 0xC0000005

</span><span class="tag">&lt;/DEBUG_OUTPUT&gt;</span><span class="pln">
0x7217146F - nierInterface </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x72175D75 - nierInterface </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x7217517A - nierInterface </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x762FA30D - KERNELBASE </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x77CC4AF1 - ntdll </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x77C857FD - ntdll </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
0x00000000 - </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> </span><span class="tag">&lt;unknown&gt;</span><span class="pln"> + 0
*** Dumping Bread Crumb Stack ***
*** LabVIEW Base Address: 0x00400000 ***
#** prop types: "C:\Users\MFG-LaserCal-1\Desktop\build\LaserCalV2.exe\01_Application\MAIN_LaserCalV2.vi"
#** Loading: "C:\Users\MFG-LaserCal-1\Desktop\build\LaserCalV2.exe\01_Application\MAIN_LaserCalV2.vi"
*** End Dump ***</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">20319</guid><pubDate>Tue, 10 Oct 2017 22:15:59 +0000</pubDate></item><item><title>I removed Block Diagram from a VI. Is it all I have to do to protect my IP and hide sensitive data?</title><link>https://lavag.org/topic/20358-i-removed-block-diagram-from-a-vi-is-it-all-i-have-to-do-to-protect-my-ip-and-hide-sensitive-data/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I would like to implement a Run-time license checking mechanism that will enable or disable some parts of my LabVIEW API depending on a license status. 
</p>

<p>
	After reading numerous discussions here on the forum (<a href="https://lavag.org/topic/16466-we-need-a-new-password-cracker/?page=1" rel="">We need a new password cracker :(</a> , <a href="https://lavag.org/topic/19178-low-level-vi-data-editor-warning-not-for-production-use/" rel="">Low level VI data editor (warning: not for production use!)</a> , <a href="https://lavag.org/topic/18469-i-found-some-more-hidden-ini-keys/" rel="">I found some more hidden INI keys</a>, <a href="https://lavag.org/topic/16072-password-security-in-labview/" rel="">Password Security in LabVIEW</a>) I realised few things:
</p>

<p>
	- reverse engineering in a LabVIEW-related field seems to be a doable task for some smart people, 
</p>

<p>
	- password protection on block diagrams does not protect your IP, it is more of a "read-only" or a "private property" sign,
</p>

<p>
	- removing block diagrams or compiling it into an executable are the ways to go, and finally,
</p>

<p>
	- there are few tools out there, that seem to have a potential to "unflatten" VI data and modify/extract its data even without block diagrams.
</p>

<p>
	 
</p>

<p>
	Back to my task. I decided to remove block diagrams. Inside my protected VI I call an external library that does the actual license checking. So the code only gets this status and returns it back to other VIs. Then the VIs do not perform their main functions, and the user gets an error. 
</p>

<p>
	Do you think I am safe here?
</p>

<p>
	Is it possible to extract sensitive string information out of my VIs (without BD)?
</p>

<p>
	Is there a way to change wiring rules/connector pane on my VIs?
</p>

<p>
	Should I worry about DLL hijacking? 
</p>

<p>
	Does NI have some kind of a tutorial for protecting your run-time API? 
</p>

<p>
	How do you protect your API knowing all that? Do you sleep well? <img alt=":)" data-emoticon="" src="https://lavag.org/uploads/emoticons/default_smile.png" title=":)"></p>

<p>
	Thanks
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">20358</guid><pubDate>Mon, 20 Nov 2017 20:31:26 +0000</pubDate></item><item><title>Need help building .exe and installer that contains web service</title><link>https://lavag.org/topic/20347-need-help-building-exe-and-installer-that-contains-web-service/</link><description><![CDATA[<p>
	Hello.
</p>

<p>
	My name is John and i study Electrical/Computer engineering.
</p>

<p>
	I am working on a project that consists of a user interface VI that communicates with a web page. ( locally ).
</p>

<p>
	Look at the attached image for my project structure.
</p>

<p>
	My issue is this : The project runs correctly ( i start the web service(this is on debug server port 8001): startup VI that is basically the User Interface pops-up. I right click on the "index.html" to get the URL and open it with a browser. any changes i make with my UI are visible on the browser. So , all cool so far)
</p>

<p>
	When i try to build either a standalone application ( .exe ) or an installer it just doesn't work. I open the index.html with browser(on port 8080, also tried 8002(see attached image))  ( general style with css is visible, so it means that index.html opened) but nothing is updated. ( i send images/audio)
</p>

<p>
	 
</p>

<p>
	This is the first time i need to build a standalone application so i guess i didn't build it correctly.
</p>

<p>
	Also as for the installer , if i understand correctly i need to first build an exe(that has the web service included) , and then include it in the installer  ?
</p>

<p>
	 
</p>

<p>
	I attach some more images where i show the build specification options.
</p>

<p>
	Could you please walk me through ?  What source files do i need to include etc.
</p>

<p>
	 
</p>

<p>
	Thank you in advance.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p><a href="https://lavag.org/uploads/monthly_2017_11/buildspecs.png.392294bfa54d1a15921806201bd86d5b.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="12753" src="https://lavag.org/uploads/monthly_2017_11/buildspecs.thumb.png.dd79c8ea6ff633b973790daa8fe7b3ba.png" class="ipsImage ipsImage_thumbnailed" alt="buildspecs.png"></a></p>
<p><a href="https://lavag.org/uploads/monthly_2017_11/buildspecs2.png.28f7b524afdf3af07b04afc21831c759.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="12754" src="https://lavag.org/uploads/monthly_2017_11/buildspecs2.thumb.png.c5ed28d020ad80321f131fa3373b414c.png" class="ipsImage ipsImage_thumbnailed" alt="buildspecs2.png"></a></p>
<p><a href="https://lavag.org/uploads/monthly_2017_11/project.png.0fd8dbdf373c1f890e008eabb928b312.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="12755" src="https://lavag.org/uploads/monthly_2017_11/project.png.0fd8dbdf373c1f890e008eabb928b312.png" class="ipsImage ipsImage_thumbnailed" alt="project.png"></a></p>]]></description><guid isPermaLink="false">20347</guid><pubDate>Wed, 08 Nov 2017 19:04:58 +0000</pubDate></item><item><title>winMIF and .NET Issues installing LV Build</title><link>https://lavag.org/topic/20197-winmif-and-net-issues-installing-lv-build/</link><description><![CDATA[<p>
	Hi Everyone,
</p>

<p>
	Most of the time I am able to find solutions to my issues just by reading this forum but I wasn't that lucky this time.
</p>

<p>
	So, i got an issue when i'm trying to install my build.
</p>

<p>
	I got the following message: "This distribution is built with an older version of winMIF that is not compatible with .NET 4.6.2 upgrade to 17.0"
</p>

<p>
	When googling this error message or even "winMIF" i can't find anything that match my request <img alt=":(" data-emoticon="" src="https://lavag.org/uploads/emoticons/default_sad.png" title=":("><br>
	I tried to uninstall the .NET framework and then reinstall the 4.0 (and 3.5) and I got the same issue. (Exactly the same error even if it's .NET 4.0 or 3.5 ...)<br><br>
	The computer used to build is a Win7Pro with Labview 16.<br>
	The target computer is a WES7 (but I got the same issue on my dev computer ...)<br><br>
	In advance thank you, <br><br>
	Piet
</p>
]]></description><guid isPermaLink="false">20197</guid><pubDate>Mon, 10 Jul 2017 08:02:09 +0000</pubDate></item><item><title>can .ini file be changed to "enable debugging" and then user can get my block diagram?</title><link>https://lavag.org/topic/19958-can-ini-file-be-changed-to-enable-debugging-and-then-user-can-get-my-block-diagram/</link><description><![CDATA[<p>
	Hello to all.
</p>

<p>
	I am deploying an executable (not installer) in a target PC with the same programs (labview and toolkits) installed than the development machine.
</p>

<p>
	When I create executable I uncheck the option "enable debugging" (see image below):
</p>

<p>
	<img alt="Application%20Builder.PNG" class="ipsImage" src="https://lavag.org/uploads/imageproxy/e1de8bee70498d4754fc093c3d795ce1.png.6a7fc83fcd38c43bff3a9e0532d6970b.png"><img alt="Application%20Builder.PNG" class="ipsImage" src="https://lavag.org/uploads/imageproxy/e1de8bee70498d4754fc093c3d795ce1.png.6a7fc83fcd38c43bff3a9e0532d6970b.png"></p>

<p>
	** In the image "enable debugging" is checked but I uncheck in my application.
</p>

<p>
	Then I am trying to debug in run time and of course I can not.
</p>

<p>
	I do this to make me sure that the user can not get my block diagram.
</p>

<p>
	But now I realized that in .ini file that Labview creates with executable there are these options:
</p>

<p>
	DebugServerEnabled=False<br>
	DebugServerWaitOnLaunch=False
</p>

<p>
	 
</p>

<p>
	So if user writes "true" in these options, can they debug in real time and because of that get my block diagram?
</p>

<p>
	 
</p>

<p>
	Thanks a lot!
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">19958</guid><pubDate>Mon, 16 Jan 2017 11:10:46 +0000</pubDate></item><item><title>Silent Install and skip if no changes</title><link>https://lavag.org/topic/19956-silent-install-and-skip-if-no-changes/</link><description><![CDATA[<p>
	I want to call my installer I built from a project in silent mode.
</p>

<p>
	(arguments: /q /acceptlicenses YES)
</p>

<p>
	But if the installer has no changes to install I want it to skip silently.
</p>

<p>
	Unfortunately the behavior I am seeing is the installer will run and reinstall everytime in this mode.  Does anyone know how to get it to try and skip silently if there are no changes needed?
</p>
]]></description><guid isPermaLink="false">19956</guid><pubDate>Fri, 13 Jan 2017 23:21:39 +0000</pubDate></item><item><title>Link to Packed Project Library in Application</title><link>https://lavag.org/topic/19918-link-to-packed-project-library-in-application/</link><description><![CDATA[<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	Hi All,
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	I have an application that uses PPL (Packed project library). During the build process of my application LabVIEW copies the PPL to build/My App Folder/data. I can run the application afterwards. If the PPL is deleted or moved later from this ../data/ directory I no longer can run the app.
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	Is there a way to dynamically link and load PPL from another location?  I've tried using viSearchPath for this but unfortunately it doesn't work. 
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	Thanks,
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	Nikita.
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;font-size:16px;line-height:1.42;color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	also posted here <a href="http://forums.ni.com/t5/LabVIEW/Create-a-link-to-PPL-Packed-Project-Library-in-Application/td-p/3555902" rel="external nofollow">http://forums.ni.com/t5/LabVIEW/Create-a-link-to-PPL-Packed-Project-Library-in-Application/td-p/3555902</a>
</p>
]]></description><guid isPermaLink="false">19918</guid><pubDate>Fri, 09 Dec 2016 10:01:27 +0000</pubDate></item><item><title>Debug exe</title><link>https://lavag.org/topic/18969-debug-exe/</link><description><![CDATA[<p>Hi all<br><br>I have made two LabVIEW exe  (LV2011) who run continually since few weeks on same PC. Last week, one of them crash two times (icon removed from task bar) without any error message.<br><br>1) Is there crash logs under <abbr title="LabVIEW">LV</abbr> runtime, and where are they localized ?<br><br>2) Is there a way to create exe, who run in background and test if another <abbr title="LabVIEW">LV</abbr> exe,  always running ?</p>
<p> </p>
<p>Best Regards</p>
<p>Eric</p>
]]></description><guid isPermaLink="false">18969</guid><pubDate>Tue, 05 May 2015 14:31:00 +0000</pubDate></item><item><title><![CDATA[What's the best practice for two installers? "full & upgrade", "app & dependencies", other?]]></title><link>https://lavag.org/topic/19889-whats-the-best-practice-for-two-installers-full-upgrade-app-dependencies-other/</link><description><![CDATA[<p>
	I'm curious about the best practices and caveats others have discovered related to using LabVIEW's built-in installer builder for distributing apps efficiently.
</p>

<p>
	<em>Note: I saw <a href="https://lavag.org/topic/15698-include-additional-installers-or-not/#comment-95027" rel="">an old post by crelf here</a> where there was some discussion of approach #1, below, and <a href="https://lavag.org/topic/15698-include-additional-installers-or-not/#comment-95029" rel="">a follow up by Tonn Plomp</a> about that mentioned the problem I've sited below.</em>
</p>

<p>
	<span style="font-size:18px;"><strong>Problem</strong></span>
</p>

<p>
	Application installers that include dependencies (e.g. LabVIEW Run-Time Engine, IMAQdx, DAQmx, VISA, etc.) can be quite large. When users are upgrading to new versions of your application, it would be nice if they could just download the new application, and not have to download the dependencies, if they have not changed.
</p>

<p>
	<strong><span style="font-size:18px;">Solution (over-simplified)</span></strong>
</p>

<p>
	Separate the installation of the application from the dependencies, and manage this all somehow.
</p>

<p>
	<em>More details on approaches...</em>
</p>

<p>
	<strong>= Approach #1 / Have two installers: "Full" (App + Dependencies) &amp; "Upgrade" (App only)  =</strong>
</p>

<p>
	<strong>How</strong>: Copy the installer rules and delete the dependencies. Call this the "Lite" or "Upgrade" installer.
</p>

<p>
	<strong>Problem</strong>: The full installer and lite installer will likely have different product guids (component codes / installer IDs), so Windows will treat them as two different applications. And, since they are installing your application into the same location, there will be a conflict. The installer will not actually uninstall the old files first (maybe, or other bad things will happen that we can't predict).
</p>

<p>
	<strong>= Approach #2 / Have two installers: "Application" &amp; "Dependencies"</strong> =
</p>

<p>
	<strong>How</strong>: Create an installer that includes the application and the dependencies. Then, make a copy of this and remove the app, so that only dependencies are installed -- call this "Dependencies". In the original installer build spec remove the dependencies -- call this "Application"
</p>

<p>
	<strong>Problem 1</strong>: The first time the software is installed, the user has to install two separate things: Dependencies and then Application.
</p>

<ul><li>
		<b>Solution</b>: In the "Dependencies" installer, include the installer for Application as additional support files, as well as a batch file that gets called as a post build spec to install the Application, after the Dependencies get installed.

		<ul><li>
				<strong>Bonus</strong>: call this installer "<strong>Full Install</strong>" since it now includes the Dependencies AND the Application -- but, note that it's structurally different than the Full version in Approach #1, above.
			</li>
		</ul></li>
</ul><p>
	<strong>Problem 2</strong>: What happens when the dependencies for your application change? (e.g. if it requires a new version of the run-time engine or if you start using some other LabVIEW feature that requires an additional support installer)
</p>

<ul><li>
		<strong>Solution</strong>: Use some kind of versioning scheme where users understand that major releases of the Application will require upgrading the "Dependencies" installer to the same major version, too.  
	</li>
</ul><p>
	<strong>= Approach #3 / Use a package manager with dynamic download and dependency management capabilities</strong> =
</p>

<p>
	OK, we know this is the best solution, but let's explore what folks are doing with the above two approaches, for now...
</p>

<p>
	 
</p>

<p>
	Looking forward to hearing what people are doing and what your thoughts are on these approaches I've outlined.
</p>
]]></description><guid isPermaLink="false">19889</guid><pubDate>Fri, 11 Nov 2016 22:59:58 +0000</pubDate></item><item><title>[VIPM] Building a package which uses a linux shared project (.so file)</title><link>https://lavag.org/topic/19770-vipm-building-a-package-which-uses-a-linux-shared-project-so-file/</link><description><![CDATA[<p>
	I've built a VIPM package of re-usable code which I want to use with the Raspberry Pi, the RPi effectively being an embedded linux platform. For the code I first built a shared object file (.so extension, basically a linux DLL) for <a href="http://www.airspayce.com/mikem/bcm2835/" rel="external nofollow">this GPIO library</a>. I then wrap the functions I need using LabVIEW CLFN's. Of course Windows hates this file and LabVIEW will complain if it tries to access it, but I can solve that by building my library inside a project with RPi as the target. When I build my VIPM package, a search takes place for the .so file, but it gets ignored and the package builds without errors. So everything is fine up to this point.
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="11575" src="https://lavag.org/uploads/monthly_2016_08/Project.png.fddd0420f5e5a9f18a0f6165a790af23.png" alt="Project.png"></p>

<p>
	The problem occurs though when I install the VIPM package (to vi.lib, although it doesn't matter where). All the VI's in the package are broken (see pics below). I can solve this by simply opening up each CLFN on the block diagrams and then closing them- the VI is fixed and the Run arrow becomes unbroken. So this will solve the problem. But I need to do this for all the VIs in the package which is tedious. Does anyone have any recommendations on how to solve the broken VI problem? To be honest I don't mind the fix I have (opening and closing the CLFN for all VIs) but other users might not like this idea, and sharing decent code is one of my aims in using the RPi (in the Maker tradition).
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="11576" src="https://lavag.org/uploads/monthly_2016_08/57bc433c30b29_BrokenVI.png.68f24d950b969d414fe0a9055b98fa61.png" alt="Broken VI.png"></p>

<p>
	<span style="color:#FF0000;"><strong>Open and close CLFN to fix broken VI:</strong></span>
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="11578" src="https://lavag.org/uploads/monthly_2016_08/57bc4342062d9_OpenCLFN.png.a6bd8bb2cca51b390931f4f760bdd31b.png" alt="Open CLFN.png"></p>

<p>
	<span style="color:#FF0000;"><strong>Fixed VI:</strong></span>
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="11577" src="https://lavag.org/uploads/monthly_2016_08/57bc433e09260_FixedVI.png.ced262a5249257cdc68296807e7534c7.png" alt="Fixed VI.png"></p>
]]></description><guid isPermaLink="false">19770</guid><pubDate>Tue, 23 Aug 2016 12:35:33 +0000</pubDate></item><item><title>Re: Building a Stand-Alone Application (use Packed  Project Lib.)</title><link>https://lavag.org/topic/19798-re-building-a-stand-alone-application-use-packed-project-lib/</link><description><![CDATA[<p>
	<span style="font-size:10px;">Hello,</span><br><span style="font-size:10px;">I am working on Diesel Injector measurement system. For controlling test bench LabVIEW(Full development system sp1) is used.</span><br><span style="font-size:10px;">Problem in detail:</span><br><span style="font-size:10px;">Main Program will call another VI(it is in Project packed Library called as Test Panel).</span><span style="font-size:10px;">Everything work fine in development system but when I try to make an Application at that time Test panel** program start &amp; within one second it is closed ,Application become unstable</span><br><span style="font-size:10px;">Thank you in advance</span>
</p>

<p>
	<span style="font-size:10px;">** Test panel is a module program,included into PPL.In the attach pic, I am working with 'Module Program Labview2010' that send message or data to PCRs5 through 'Testpanel ppl'</span>
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="11630" src="https://lavag.org/uploads/monthly_2016_09/Interface.PNG.7573a35318ad85ef41572123bca68168.PNG" alt="Interface.PNG"></p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">19798</guid><pubDate>Wed, 07 Sep 2016 06:32:54 +0000</pubDate></item><item><title>8.x file layout</title><link>https://lavag.org/topic/19827-8x-file-layout/</link><description><![CDATA[<p>
	<span>Here's one most of you probably haven't thought about for a few years.</span>
</p>

<p>
	<span>I built an application for someone else, and when the exe was run on their computer, it started complaining about missing vis. I realized this probably meant the "Use LabVIEW 8.x file layout" button got unchecked somehow, so I fixed that and all was fine.</span>
</p>

<p>
	<span>Which started me thinking...  Other than the issue <abbr title="LabVIEW">LV</abbr> 8.x and earlier builds have with vis with the same name, is there any technical reason to NOT use the LabVIEW 8.x file layout when making an executable? I don't use LVOOP, and think it's Bad Programming to have two vis with the same name in the same build (either they have slightly different functions, and therefore have different names, or it's the same vi living in my code reuse tree, or maybe it should be a polymorphic vi, etc).</span>
</p>

<p>
	<span>I'm going thru a big code cleanup push and am wondering if this is something worth the effort of "fixing" in my 2500+ vi and 25+ exe library.</span>
</p>
]]></description><guid isPermaLink="false">19827</guid><pubDate>Mon, 26 Sep 2016 16:37:50 +0000</pubDate></item><item><title>LV2012 installers for Windows 10 (a .NET issue!)</title><link>https://lavag.org/topic/19821-lv2012-installers-for-windows-10-a-net-issue/</link><description><![CDATA[<p>
	Hi All, 
</p>

<p>
	I have an application built in labview 2012 which we have been distributing fine with an installer built in labview 2012 for some time. Recently, a colleague tried to install the application onto a windows 10 machine and although the installation process seemed to go smoothly, for some reason, one of the two exe's distributed by the installer gives me the ever so helpful "This VI is not executable. Full development version is required. This VI is not executable. Full development version is required. This VI is not executable. Full development version is required. This VI is not executable. Full development version is required. This VI is not executable. Full development version is required. This VI is not executable. Full development version is required. ..... (you get the picture!)" error.
</p>

<p>
	As an experiment I set up two clean virtual machines, one running windows 7 SP1, one running windows 10. I ran the same installer on both. In windows 7, I got a prompt saying that .NET framework 4.6.1 needed to be installed first, and that happened automatically, and after that the installer continued and everything worked fine (including the exe in question). On windows 10 I got no such warning. The installer ran through and the exe failed with the error message described above. 
</p>

<p>
	On the Win10 VM, I then went in to "Turn windows features on/off" and although there's a tick in the ".NET framework 4.6 advanced features", there's no specific sign of 4.6.1. for a test, I added a tick to add .NET framework 3.5 (includes .NET 2.0 and 3.0) and installed that. That made my .exe run fine.... 
</p>

<p>
	So.... is there any way to force the <abbr title="LabVIEW">LV</abbr> installer to prompt for/install the necessary .net "stuff" when running in Windows 10? Anything else I can do to automate things so that our customers dont need to manually add .net support for the program to run if they're using windows 10?
</p>

<p>
	Thanks in advance!
</p>

<p>
	 
</p>

<p>
	Paul
</p>
]]></description><guid isPermaLink="false">19821</guid><pubDate>Wed, 21 Sep 2016 08:43:22 +0000</pubDate></item><item><title>LV2016 - No Windows 7 support?!?!?</title><link>https://lavag.org/topic/19786-lv2016-no-windows-7-support/</link><description><![CDATA[<p>
	Yikes!
</p>

<p>
	<a href="http://forums.ni.com/t5/LabVIEW/LV-2016-Known-Issue-583670-Can-I-really-no-longer-build-for-Win7/td-p/3341369" rel="external nofollow">http://forums.ni.com/t5/LabVIEW/<abbr title="LabVIEW">LV</abbr>-2016-Known-Issue-583670-Can-I-really-no-longer-build-for-Win7/td-p/3341369</a>
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">19786</guid><pubDate>Wed, 31 Aug 2016 20:54:28 +0000</pubDate></item><item><title>Can VIPB files still be hand-modified?</title><link>https://lavag.org/topic/19706-can-vipb-files-still-be-hand-modified/</link><description><![CDATA[<p>
	This is an offshoot of <a href="https://lavag.org/topic/19414-can-i-save-as-a-vipb-file-in-vipm-and-keep-the-old-palette-if-i-change-the-source-directory/" rel="">https://lavag.org/topic/19414-can-i-save-as-a-vipb-file-in-vipm-and-keep-the-old-palette-if-i-change-the-source-directory/</a>. That thread discusses hand-modifying the XML data in a *.vipb file, which Jim Kring himself seems to accept as a viable solution in some cases. However, when I try that, VIPM says, <em>"VI Package Builder was unable to open the build spec due to an error."</em>
</p>

<p>
	I initially thought this was new behaviour introduced in VIPM 2016, but downgrading to VIPM 2014 SP2 didn't change anything. I'm now unable to downgrade any further, as my PC is convinced that 2014 SP2 is still installed (even though it's not...)
</p>

<p>
	Could someone kindly try the attached *.vipb file and see if it opens? It's a bare minimum default file, with only a description summary added. I've hand-modified the summary from "Lorem ipsum" to "Larem ipsum" and now VIPM refuses to open it.
</p>

<p>
	Thanks!
</p>

<p>
	 
</p>

<p><a class="ipsAttachLink" href="//lavag.org/applications/core/interface/file/attachment.php?id=11432">Dummy.vipb</a></p>]]></description><guid isPermaLink="false">19706</guid><pubDate>Sat, 23 Jul 2016 03:25:21 +0000</pubDate></item><item><title>[VIPM] How to auto-generate a palette that skips the root directory?</title><link>https://lavag.org/topic/19694-vipm-how-to-auto-generate-a-palette-that-skips-the-root-directory/</link><description><![CDATA[<p>
	I have a project structure like this:
</p>

<ul><li>
		&lt;ProjectRoot&gt;
		<ul><li>
				(Project.vipb)
			</li>
			<li>
				Examples
				<ul><li>
						Example1
					</li>
					<li>
						Example2
					</li>
				</ul></li>
			<li>
				Source
				<ul><li>
						Cpp
					</li>
					<li>
						LabVIEW
						<ul><li>
								LVClass1
								<ul><li>
										(Method1.vi)
									</li>
								</ul></li>
							<li>
								LVClass2
								<ul><li>
										(Method2.vi)
									</li>
								</ul></li>
						</ul></li>
				</ul></li>
		</ul></li>
</ul><p>
	 
</p>

<p>
	The auto-generated Functions Palette is structured like this:
</p>

<p>
	<em>    [Functions] &gt;&gt; [Company] &gt;&gt; [Project] &gt;&gt; Source &gt;&gt; LabVIEW &gt;&gt; LVClass1 &gt;&gt; Method1.vi<br>
	    [Functions] &gt;&gt; [Company] &gt;&gt; [Project] &gt;&gt; Source &gt;&gt; LabVIEW &gt;&gt; LVClass2 &gt;&gt; Method2.vi</em>
</p>

<p>
	 
</p>

<p>
	However, I would like a simplified palette structure like this:
</p>

<p>
	<em>    [Functions] &gt;&gt; [Company] &gt;&gt; [Project] &gt;&gt; LVClass1 &gt;&gt; Method1.vi<br>
	    [Functions] &gt;&gt; [Company] &gt;&gt; [Project] &gt;&gt; LVClass2 &gt;&gt; Method2.vi</em>
</p>

<p>
	 
</p>

<p>
	Is there a way to get VIPM to auto-generate the palette that way? I can think of a few workarounds (restructure my project, or add every palette folder manually) but I'm hoping I don't have to resort to them.
</p>

<p>
	 
</p>

<p>
	<em>P.S. Sorry if this is the wrong place to post this, but I'm unable to post on the JKI forums</em>
</p>
]]></description><guid isPermaLink="false">19694</guid><pubDate>Thu, 14 Jul 2016 15:09:51 +0000</pubDate></item><item><title>Can I Save As a VIPB File in VIPM and Keep the Old Palette if I Change the Source Directory?</title><link>https://lavag.org/topic/19414-can-i-save-as-a-vipb-file-in-vipm-and-keep-the-old-palette-if-i-change-the-source-directory/</link><description><![CDATA[<p>Hi Guys;</p>
<p> </p>
<p>Quick question. I have an old VIPB file for a project and would like to use it for another project. My main interest is to recycle the Palette as I customized it to include a bunch of <abbr title="LabVIEW">LV</abbr> primitives on it. I thought it would be just a matter of saving the VIPB file As another name and change the Source Directory in the Build Information Section. The thing is though, once I change the Source Directory on the new VIPB file, VIPM dumps the old palette altogether and creates a brand new one with the directories that are part of this new Source Directory. Is there a way to reuse the palette from one VIPB file on another one?</p>
<p> </p>
<p>I'm looking for an easy button to avoid having to spend hours basically replicating what another package already has.</p>
<p>Thanks!</p>
<p> </p>
<p> </p>
]]></description><guid isPermaLink="false">19414</guid><pubDate>Sun, 17 Jan 2016 03:47:09 +0000</pubDate></item><item><title>mxLvProvider.mxx required for executable</title><link>https://lavag.org/topic/19664-mxlvprovidermxx-required-for-executable/</link><description><![CDATA[<p>
	Does anybody know why my application executable all of a sudden needs the file "mxLvProvider.mxx" to be in the data directory?
</p>

<p>
	The application builder puts it there automatically, but I do not know what it is for. If I remove it my application does not run, instead the usual file prompt dialogue pops up when I run the application.
</p>

<p>
	Also, <em>can anybody shed any light on what this file is for</em>? My PC seems to think it is a "MAX Configuration UI" but that does not make any sense either.
</p>

<p>
	Crossposted <a href="http://forums.ni.com/t5/LabVIEW/mxLvProvider-mxx-required-for-executable/td-p/3312369" rel="external nofollow">here</a>.
</p>
]]></description><guid isPermaLink="false">19664</guid><pubDate>Tue, 21 Jun 2016 14:23:26 +0000</pubDate></item><item><title>VI Server From Exe To Dev</title><link>https://lavag.org/topic/19633-vi-server-from-exe-to-dev/</link><description><![CDATA[<p>
	Hi everyone!
</p>

<p>
	I'd really appreciate your help with this. I'm trying to write a program that will find all the VIs that are open in the LabVIEW development environment (even if they are different application instances) and analyze their front panels and generate a report about them. I wrote a quick VI just to get started which will tell you the number of controls on the front panels of all open VIs. The problem is that it doesn't work when I build it into an executable. When I run the executable, instead of finding all the VIs open in the development environment, it only finds itself. I attached the code I wrote so far. Could anyone tell me what I how I could make this work from an executable? Thanks!
</p>

<p>
	--Hope
</p>

<p><a class="ipsAttachLink" href="//lavag.org/applications/core/interface/file/attachment.php?id=11292">VI Logger.zip</a></p>]]></description><guid isPermaLink="false">19633</guid><pubDate>Thu, 02 Jun 2016 09:02:12 +0000</pubDate></item><item><title>DVR's not working across vi's when built into exe</title><link>https://lavag.org/topic/19577-dvrs-not-working-across-vis-when-built-into-exe/</link><description><![CDATA[<p>
	Hi All
</p>

<p>
	I have a program written in LabVIEW 2015 that works well enough in the dev environment but I'm having an issue when it is built into an application and i can't see why.
</p>

<p>
	I use 3 different DVRs in order to ensure that the data I capture over a CAN bus in my main application is available and correct for use in a sub vi launched in one of the panes of my main Vi. This is with a view to having different sub vi's for different applications.
</p>

<p>
	The DVR's are registered and created in the main vi and I have tried initially using run VI methods and Ctrl Val.Set properties to send the reference value to the vi in question, then i tried using the reference and storing it in a global for the vi to see and in a test case I've tried to pass it directly to a test vi via a connector/control on in  the vi but in all instances, it works in the dev environment but not when in an application.
</p>

<p>
	Does anyone have any advice on whether i have some bad build settings or whether these references cannot be passed between vi's (which i thought was their purpose).
</p>

<p>
	Either way, i've been scratching my head for a while and haven't got anywhere
</p>
]]></description><guid isPermaLink="false">19577</guid><pubDate>Mon, 25 Apr 2016 12:21:59 +0000</pubDate></item><item><title>Run VI Comparison Tool in Build Executable?</title><link>https://lavag.org/topic/19531-run-vi-comparison-tool-in-build-executable/</link><description><![CDATA[<p>I use SVN for version control in my project and am often faced with many conflicted VIs that must be dealt with. I have found that frequently, the changes causing these conflicts are not "real" changes (for example, a wire was moved or a typedef for a cluster control was changed). So, I am trying to create a tool that queries my project directory for any VIs that have conflicts, and running the VI Comparison tool with only non-cosmetic changes enabled to automatically find VIs that don't have any "real" changes and marked the conflicts as resolved. I would like to build the tool into a .exe because I would like to be able to run this tool from the command-line so that I can create a right-click menu item in my Windows environment to easily run the tool from any folder containing conflicted files.</p>
<p> </p>
<p>I found vi.lib\SourceControl\support\SCCSup Compare Two VIs.vi which performs the comparison operation, allows me to specify which types of changes to detect, and returns if there are differences. This is exactly what I need and it works perfectly in the development environment. However, when I build my tool to a .exe file, I get a LabVIEW error with the following description:</p>
<pre class="ipsCode prettyprint">
Error 1574 occurred at Open VI Reference in SCCSup Compare Two VIs.vi-&gt;Resolve False Conflicts.vi

Possible reason(s):

LabVIEW:  (Hex 0x626) Cannot open a file with separated compiled code in the LabVIEW Run-Time Engine.

An error occurred loading VI 'my.vi'.
LabVIEW load error code 59: The source file's compiled code has been separated, and this version of LabVIEW does not have access to separated</pre>
<p>Where my.vi is the path to the VI that it is attempting to compare. All of the VIs in my project have "Separate compiled code" enabled since I use version control on them, therefore turning it off it not an option. Is there any way to get around this issue?</p>
]]></description><guid isPermaLink="false">19531</guid><pubDate>Mon, 21 Mar 2016 20:40:04 +0000</pubDate></item><item><title>Two Runtime on same PC</title><link>https://lavag.org/topic/19510-two-runtime-on-same-pc/</link><description><![CDATA[<p>Hi all</p>
<p>I have  plan,to add one new LabView exe program compiled in LV2015 on one PC, where there is already one LabView exe program compiled in LV2011.</p>
<p>Have you ever encounter some problems or limitations with two runtimes running at same time.</p>
<p>Just for detail, I can't upgrade exe 2011 because i don't have sources.</p>
<p>Eric</p>
]]></description><guid isPermaLink="false">19510</guid><pubDate>Fri, 11 Mar 2016 11:12:26 +0000</pubDate></item><item><title>Quick and dirty way for optional dependency in source code?</title><link>https://lavag.org/topic/19475-quick-and-dirty-way-for-optional-dependency-in-source-code/</link><description><![CDATA[<p>So here is my situation: I have this software I'm providing since years, which depends, for a nice side functionality, on a toolbox which the end user might have cared to install or not. (Show of hands, some static copy of LuaVIEW, in a local or in a system directory, or through VIPM). I used to distribute this software as source, just zip of vis and llb, because after all it's for internal use, and may happen to be debugged on target. Not even cared to create once for good a proper project for it, it just grew on like that.</p>
<p> </p>
<p>Now it occurs to me, it could be sensible to check at runtime for the presence of LuaVIEW, and to disable the additional features if that is not found. Not found, presently, just means that some subVIs on the main BD are missing or broken. I figure that it would be rather easy to check dynamically for a Bad status of some VI wrapping a LuaVIEW subVI, and use that as a flag.</p>
<p>The best approximation to what I need, which I could think at, would be to wrap those broken part in a conditional disable structure. But, stock CD structures in the IDE can be conditioned only by bitness/targer/RTE, not by some runtime value (and it makes sense they can't; it's about compilation). Another option coming to mind, would be to create a project for good, with conditional disable symbols, and two different builds depending/independent, but then should I distribute only the builds?</p>
<p> </p>
<p>Other options coming to mind look to me more cumbersome. e.g., I don't know, calling all relevant LuaVIEW vis dynamically, thus having them not explicitly on main BD. Or, I suppose plugin library may be the keyword, but then do I have to transform LuaVIEW in a plugin, which is above my head and not my call? Any elegant suggestion?</p>
]]></description><guid isPermaLink="false">19475</guid><pubDate>Fri, 19 Feb 2016 09:40:33 +0000</pubDate></item><item><title>Events Not Working in Built Application</title><link>https://lavag.org/topic/19477-events-not-working-in-built-application/</link><description><![CDATA[<p>I posted this in the NI Forums a few days ago, but I have discovered a few more oddities since the original post and the title is no longer accurate. Also, there wasn't much response there, so I thought I'd see if any of you fine folk could shed some light on the problem. Here's a link to the original post.</p>
<p> </p>
<p><a href="http://forums.ni.com/t5/LabVIEW/Values-not-passed-to-subVIs-in-builds-in-LV2014-and-2015/td-p/3254123" rel="external nofollow">http://forums.ni.com/t5/LabVIEW/Values-not-passed-to-subVIs-in-builds-in-LV2014-and-2015/td-p/3254123</a></p>
<p> </p>
<p>It now seems like the subVI that isn't working is actually getting all the values passed to it, but for some reason isn't able to generate the return event. That or it is generating the return event, but the event isn't being processed by the run time engine, because there are no errors from Generate Event. We are in the process of upgrading our entire code base to LabVIEW 2015, and we are reorganizing projects and libraries to make it somewhat easier to force inclusions in builds if that's the only solution.</p>
]]></description><guid isPermaLink="false">19477</guid><pubDate>Fri, 19 Feb 2016 15:40:59 +0000</pubDate></item><item><title>How to read installer version number programmatically?</title><link>https://lavag.org/topic/19418-how-to-read-installer-version-number-programmatically/</link><description><![CDATA[<p>I need to read the installer version number (not the exe version number) programmatically.  Is there any way?</p>
<p> </p>
<p>I have a bundled software which has multiple EXE's under one installer.  Commonly I use the installer version number for reference and want to show it up to the user.  Is there any way to get the installer's version number instead of executable's version number?</p>
<p> </p>
<p>--Ajay.</p>
]]></description><guid isPermaLink="false">19418</guid><pubDate>Wed, 20 Jan 2016 09:42:19 +0000</pubDate></item></channel></rss>
