11-23-2005 03:08 PM
11-28-2005 06:09 PM
Is this dialogue causing an error or is it announcing that it is loading a
primitive function from a new location? If you continue with running your
VI after the prompt, are you still able to run the VI as usual? The VI
which is causing the problem is a primitive -- these functions are not saved in
with the application distribution. If you execute the VI on a different
computer the functions must be reloaded and you can get this dialogue.
I hope this helps! Please let me know if this problem is interfering with
the execution of your program or if you have additional questions.
11-29-2005 12:15 PM
Thanks for your reply. My posting left out some important information such as this is LabVIEW 7.1 running on Windows 2000 and XP. In desperation in order to get this going before the holiday I wrote around the mean function. I would like to resolve the issue though.
If the wiring diagrams are removed the application will not run on the new machines. With the diagrams and if the other machine has the development version you can point to the dll and the program will run it. My target machines only have a LabVIEW runtime installed so the application is broken.
During early stages of development this was working correctly. I saved the application with options, included the external calls, menus, and vi library. sent it to a separate location with a single prompt. This would go into a vi library file. When placed on a target machine with the run time installed it functioned correctly. (The mean.vi was in use and functioned correctly.) After a few modifications to the program this quit working. The modifications did not have anything to do with the portion of code that calls the mean.vi. I suspect I could place the dll in question into the resource folder to correct the problem but this started out working correctly and I thought it was included when the mean.vi was saved into the library.
If I understand your reply, the dll should be part of the runtime installation and loads when the application calls for it. If that is true the dll might not be the same build as on my development machine or perhaps the mean.vi is calling a different dll than it originally was. The only way I can see this happening is if I managed to have a vi opened that was calling the same dll from a different location and accidentallysaved some of my vi library linking to the wrong location. (Could this happen?)
11-30-2005 12:52 PM - edited 11-30-2005 12:52 PM
Message Edited by Travis M. on 11-30-2005 12:53 PM
11-30-2005 01:09 PM
Thanks for your excellent reply. The dll location is the same on my machine as your screenshot. The originall dialog showing "Program Files:\...." bothered me at the time I did not notice the ":" I just thought the C:\ was left off in the dialog. It looks like this might be the issue. I will try this again when time permits and let you know.
Thanks again for the information.
Randall