12-06-2007 02:07 PM
12-06-2007 02:24 PM
Just found some information here http://zone.ni.com/devzone/cda/tut/p/id/5606#toc7 about this issue. Says that 5 different versions of the run-time can be downloaded, but no link is given. Directions are also given for customizing the run-time deployment from within LV 8. Anyone know where these 5 versions are located for download and are they compatible with LV 7.1?
I could build an installer in LV 8 just for the NI-DAQmx driver. Would this add a lot of un-needed "stuff" to my install? I've created test installers from LV 7 that install only a batch file for testing and they are 32MB! The way each new release tends to grow, I guess this could be >100MB from LV 8? Any thoughts are appreciated. Thanks.
Art
12-07-2007 12:41 PM
12-12-2007 07:52 AM
HI Paul,
Thanks for your suggestions. Just prior to receiving your response, I had in fact tried to build just an installer for the daq driver from LV 8.5. The problem is that it forces the project to be saved before it will create and installer and then proceeds to include the empty project and the LV runtime engine. In my case, I named the project test and the installer created c:\test on the target and installed the LV runtime as well as the daq driver. I also ended up with a regiestered application - test. Once I manually uninstalled test, I had the result I wanted, but too long a path to get there.
I bit the bullet and migrated the code from LV 7.1 to LV 8.5 so that I could build a comprehensive installer. Generally, things turned out well. My biggest question is why the application builder / installer insists on putting both LV 8.2 and 8.5 RTE on the target. I want, and expect, only LV 8.5 RTE. I'm have installed and am running off of the 3rd Q release for the NI developer suite. Why is 8.2 RTE loading and how do I correct this?
Another strange result is that my daq device and channels do not show up in MAX. I included the level 5 daq driver and MAX in my installer as well as the hardware configuration. The application works ok, and if I manully import from my *.nce file then I get a warning that my device will be replaced. Is this normal? The GPIB controller shows up as normal. The only thing that seemed odd during installation was that the daq driver didn't complete installation after restart because I forgot to plug in the daq device cable. Afterward it seemed ok.
I also have a couple of bugs with the application builder / installer. I converted my LV 7.1 build script and made needed changes. I see the following behaviors.
1) I have setup a file to install into a subdirectory. Every thing works ok except when I subsequently go back into the Installer Properties window and go to the Source Files. I see two problems. First, in the Project View my files are in the correct locations, but the icon for the one in the sub-directory is switched with the very last one in the list. Second, in the Destination View the next-to-the-last file from the Project View is the one shown in the sub-directory while the file that should be in there is listed directed below it in the list (but not in the sub-directory). Everything installs to the correct location, but this maked it very confusing to edit the installer.
2) Whenever I use the Build All command, the application builder fails with the following error. If I start the build individually from the Properties window, then the build completes successfully.
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1 occurred at Copy in AB_Engine_Copy_Error_Files.vi->AB_Application.lvclass:Copy_Error_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: 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 @.
=========================
NI-488: Command requires GPIB Controller to be Controller-In-Charge.
C:\Program Files\National Instruments\LabVIEW 8.5\user.lib\errors\McPherson-errors.txt
Thanks again for help.
Art
12-13-2007 01:37 PM - edited 12-13-2007 01:38 PM
12-17-2007 07:11 AM
Hi Paul,
Thanks for your suggestions. I submitted a product request for the Builder/Installer problem as you recommended. We are also in agreement about the result of creating just and installer for the daq engine and since I converted to LV8, this isn't an issue for me any longer. So let's cross these off the list.
As far as the LV 8.2 engine not being on the target, I can assure you with 100% confidence that it was not there. I have never used 8.2. I launched it after installation to make sure it would run and did not get back to version 8 until 8.5 had already been released. I decided to make the jump all the way to 8.5 and that's where I have been for about 10 days now. The LV 8.2 run-time engine is not checked in the Installer. Is it possible that some reference to LV 8.2 remains after installing the Q3 LV8.5 update?
Now to the daq; when I said it works ok, I simply meant that the application runs as it should. Which means I didn't haven't an arguement for tracking this down rather than shipping the system - which is what happened. We're on to the next one and I will have to try things on a nearly identical system. The daq device never showed up in MAX. I didn't think to check in Device Manager and now the system is gone . . . I'll be sure to check if this behavior repeats on the next system.
Finally the Build All error; at the time I only had one Installer setup. It includes all the needed drivers. I have since created a second Installer just for the Application. The full installation is just too big and slow to work with for last minute changes and debugging. After installing LV8.5, I simply copied our custom errors file from LV 7.1 to LV 8.5. I think this should work ok, and I would expect something other than a path error if there was a problem with this file. Maybe something is strange from the LV7.1 build script conversion and I should assemble a new project. I've had this issue from the beginning and I also found that the panel of a sub-vi was not loaded and had to move all of my sub-vis from Dependencies into virtual folders to solve the problem. Perhaps other small issues are lurking that I haven't been able to put my finger on yet.
In summary, if you could give some ideas on a solution for LV 8.2 runtime engine installing, that would be great. I'll carry on with the daq and Installer issues. If I get any new information, I'll post it. Thanks.
Art
12-18-2007 06:38 PM
01-03-2008 10:38 AM
Hani & Paul,
Thanks for your help. I have continued working on these issues as time allowed. My problem with the explosive growth of the installer is the greatly increased time it takes me to build, burn a cd and run the test installations. If everything worked perfectly the first time, then I could live with it. But an additional 20 minutes per cycle isn't tolerable.
Here is the progress I have made.
1) By selecting different additional installers (without any source files added to my test project), I find the following:
NI-MAX loads LV runtimes 8.5 and 8.2
NI-488.2 2.5 loads LV runtimes 8.5 and 8.2
NI-VISA runtime 4.2 loads LV runtime 8.5
NI-DAQmx 8.6 (runtime 4) loads LV runtimes 8.5, 8.2, 8.0, and 7.11
2) The build error that I receive when building my application occurs only the FIRST time I attempt to build it after opeing the project. The message is that my error file cannot be found. By simply running the build again, the error goes away.
3) The problem I had of not seeing my DAQ device loaded into MAX using export/import as part of the installer, appears to be due to the level of the NI-DAQmx runtime that I chose. I started with level runtime 5 that doesn't have support for MAX. Somehow the hardware information made it into MAX (or some lower level) which allowed my application to run, but not show me the device or channels in MAX.
I don't see anyway around having NI-DAQmx loading all of these runtime engines, so I'm going back to our old method of having the GPIB card and driver setup and operational and the daq installation and driver setup and operational before the application installation. For convencience, I would like to combine everything into one installation and have control of the drivers in use but the price is simply too high. If you have any other suggestions, I love to hear them. Thanks.
Art
01-04-2008 02:37 PM