03-30-2009 05:09 AM
Hi All,
I have created a vi(attached), which creates a new library and adds another vi to it. This vi seems to be working fine when we open and run it from its location on the disk. If I try opening and then running this vi by selecting it from the LabVIEW tools menu (This was done by placing it in the location-National Instruments\LabVIEW 8.6\project ), I get an error 1000 after the property node for 'Name' . Error 1000 states 'The VI is not in a state compatible with this operation'. I would be really glad to know why this happens or even an alternate solution for it.
Thanks in Advance,
Ibrahim.
03-30-2009 10:33 PM
Dear Ibrahim,
I couldn't open the VI because i didn't have LV8.6. But i have encountered this issue before and i think this might help your question. A normal VI when placed in LV/Projects becomes a seperate instance. So a normal VI may work as expected but the VI inside /Projects may not work.
Regards,
Muthuraman S
03-31-2009 03:22 AM
If you run it from the tools menu, it is running in a seperate Application Instance called NI.LV.Dialog of LabView. You need to get hold of the Main Application Instance.
Have look at this link:
http://forums.lavag.org/Accessing-VIs-across-contexts-t12950.html&pid=57735
But be warned, that it is located under the rusty nails section and this stuff is not officaially supported by NI or anyone else.
Felix