10-10-2006 06:19 AM
10-10-2006 06:55 AM
No. The way LV runs, all subVIs of a running VI are changed into a Waiting to Run state in which you can't edit them. This is done for various protections and optimizations and is just the way LV works.
If you want to edit a VI which will be called by another VI you will have to tell the calling VI to dynamically load it into memory when it needs it and then to unload it, which is not as easy as using a simple subVI, but has other advantages as well. Search the example finder for "dynamic" and "VI server" to see examples.
I know LV 8 should also have a context menu option for loading the subVI in different ways, but I don't know how that works.
10-10-2006 07:04 AM - edited 10-10-2006 07:04 AM
"if you want to edit a VI which will be called by another VI you will have to tell the calling VI to dynamically load it into memory when it needs it and then to unload it, which is not as easy as using a simple subVI, but has other advantages as well. Search the example finder for "dynamic" and "VI server" to see examples. "
well, I have to I am afriad of. so, I looked in the examples, and that I understand, because I am doing the same. Actually, can you give me a vi which is able to unload the VI from the memory, so I can edit it?
An other option is to stop the whole program, I was thinking is to open the subvi in Edit mode, and then stop the Main Program.
Is that possible?
thanx!
Message Edited by btwesseling on 10-10-2006 07:06 AM
10-10-2006 08:02 AM
10-11-2006 01:47 AM
10-11-2006 02:35 AM