Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

How can I disable auto-search of Sub VI's when I open an existing VI ?

Every time I open an existing VI, if required Sub-VI's are not in expected location, it istarts searching in my Hard Disk. Once they are found, VI is loaded. When I save it, new paths are also saved.
 
The problem is that I do not know if my VI is using correct Sub-VI's. I'd like that instead of searching in my hard disk, it ask me for any missing Sub VI to manually indicate each path.
 
Is that possible ? Please show me how.
 
THANKS in advance. 
0 kudos
Mensaje 1 de 2
3.060 Vistas

Hi Edgar in the options in LabVIEW you can configure the search paths to search in the directories you want, if it is not found it will prompt the user for the file. If there are no search paths it will always ask but that is not recommended (it will always ask)

http://digital.ni.com/public.nsf/allkb/3E58FDCF8744F86D86256AAF0078274C?OpenDocument

Now regarding to finding if it is the correct VI, when it loads it from a different location it will use a * and ask for save.

There are other two ways to find if the VI is in the correct place:

If you have LabVIEW 8.5 the project has a new tab with the address (LabVIEW 8.5 includes new features to deal with this kind of situations)

If have older Versions use the VI Hierarchy and select show full path.

Also a good programming technique regarding naming, is to name all you VIs with the prefix of you project and if the project is TLC you would have a tlc_test  and not just the test VI.

Best Regards

 

Benjamin C
Principal Systems Engineer // CLA // CLED
0 kudos
Mensaje 2 de 2
3.052 Vistas