LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1000 when opening a vi from tools menu

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.

0 Kudos
Message 1 of 3
(2,762 Views)

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

Regards,
Muthuraman
0 Kudos
Message 2 of 3
(2,727 Views)

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

0 Kudos
Message 3 of 3
(2,705 Views)