LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to avoid loading trim whitespace.vi and general error handler.vi from c:\

I saved a llb with vi.lib VIs and then converted the llb to a directory. I do this since I am dynamically loading VIs and I need the vi.lib VIs in the same directory. The probelm I have now is when I open a VI that calls Trim Whitespace.vi or General Error Handler.vi LV 7.1 loads it from from C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\Utility\error.llb\ and C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\Utility\error.llb\ even though these VIs are in the same directory as their callers.
0 Kudos
Message 1 of 2
(2,277 Views)
Hi

In general to relink VI you have to load the hierarchy from the bottom up. LV first check if the called VIs are in memory, therfore load first Trim Whitespace.vi and General Error Handler.vi in memory then load the VI that are calling them, save everything. That should do it

PJM


  


vipm.io | jki.net

Message 2 of 2
(2,277 Views)