08-23-2007 09:47 AM
08-23-2007 10:06 AM
08-23-2007 12:35 PM
Hi Andre,
Everything works well when I run the VIs with the developement system. I am just now trying to compile and deploy it. This is the first time that I have tried to run a VI in the background in a compiled application. The function generator VI is in the same library as the main data collection VI. The function generator just creates a sawtooth waveform continuously while data is being collected. When building the application, do I need to select Add Dynamic VI, and add the function generator? If so, do I also need to run VI Server? I am beginning to suspect that the problem might be how I addressed the dynamically loaded VI. For portability I am using the current VIs path property to build the path to the function generator. There is a test running on that station right now, but after it finishes I'll try putting in an absolute path. Any other suggestions?
Regards,
Jim
08-23-2007 12:58 PM
08-23-2007 01:25 PM
Hi Denis,
I'm a bit confused. The function generator VI is in the same llb that the main application is in. When I build the application, how do I address it? Do I have to save the function generator as a seperate file when I deploy it, or is it bundled inside the exe? If bundled, then Current VI's Path returning c:\folder\example.vi would work because I am stripping off example.vi and adding function generator.vi. Also I am not sure that I understand your suggestion regarding the Application.Kind property.
Jim
08-23-2007 01:41 PM - edited 08-23-2007 01:41 PM
Message Edited by Dennis Knutson on 08-23-2007 12:46 PM
08-23-2007 02:05 PM
08-23-2007 02:53 PM
08-24-2007 07:07 AM
Thanks for your help guys. The exe works fine. After years with my head down charging forward to "just get the job done" I am finally exploring the tools at my disposal. By the way Andre, it only took two minutes to convert the llb. I am ashamed to admit that I did the same exercise manually - copied the files into a directory and then re-linked all of the sub-vis. I won't say how long that took! Thanks again.
Regards
Jim