10-03-2007 10:28 AM
10-03-2007 10:42 AM
Type definitions can be replaced by taking advantage of two properties of LabVIEW.
1) Only one VI with a given name can be in memory at the same time.
2) Callers of VI's will save the relative path and name of all it callers.
How to use this feature.
A) Make sure you have typedef defined and you know its name.
B) Make sure all VI are closed.
C) Open the typedef that you want to use as the replacement of the typdef in your app.
D) Save the replacement using the name of the typdef in the app and keep this replacement open.
E) Open the app. You should get warning meessage about the VI being found in a new location.
F) (Optional step) Save the typdef as a new name.
G) Close all of the VI's in the app and save them.
After completing this proceedure you will have replaced all of the old typedef's with the new.
Note:
Save with options >>> single prompt >>> preserve hierachy gives you options to clone all VI to new location and leave the original un-touched.
'nough for now.
Have Fun!
Ben
10-03-2007 11:38 AM
10-03-2007 12:00 PM
10-03-2007 12:08 PM
Note:
Save with options >>> single prompt >>> preserve hierachy gives you options to clone all VI to new location and leave the original un-touched.
I couldn't find this option in the options. Could you tell me exactly where I am to look for this in LabVIEW 7.0?
Thanks,10-03-2007 12:28 PM - edited 10-03-2007 12:28 PM
Message Edited by Ben on 10-03-2007 12:29 PM
10-03-2007 01:01 PM
"
P.S. I find it odd that even though you can have two seperate files in different directories, you still need to give them unique names.
"
That goes back to the LV 1 days when you only had eight character names.
In LV 8+ you can have multiple VI's of the same name in an applcation but in that case LV mangles the names with the libraries containing the VI's
And since I mentioned mangling, here is some mangled Shakespear (sp?)
"A VI by any other name, stinks!"
Ben
10-04-2007 03:40 AM