LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't open sub VI's in remote.

I get the following message when I connect in remote mode and try to open sub VI's in the top level VI.

"You Tried to open VI's front panel window whose state has already been set to modal because it is run-reserved but the VI is not yet running.
This is likely to hang LabVIEW because you will no way of running the VI, no way of closing its front panel, and no way of interacting with another VI's"

 

I have checked all the sub VI's and they are set to default and not modal.

 

Any help would be great.

 

Jeff

0 Kudos
Message 1 of 4
(2,877 Views)

Hi Jeff,

 

I have a couple of questions for you.  When you say you try to connect in remote mode...does this mean you are using VI server to launch a remote VI or are you remoted into a computer or something else?  Also what version of LabVIEW are you using.

 

Take a look at this KnowledgeBase. Does this describe the behavior you are seeing?

Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 2 of 4
(2,850 Views)

Jon

Here is what I’m doing: I’m talking about two PC’s; one for the actual application (exe) which for all practical purposes we’ll call the “machine”, and the other PC for the development (my laptop) we’ll call it the “programmer”.

Both PC’s are connected to our network via TCP/IP and the address for each PC are static IP’s

Machine PC 10.28.30.10

Programmer PC 10.28.30.20

The application (exe) is running on the machine PC and I open the project on the programmer PC and connect debug application which launches the top level VI on the programmer PC which will allow me to get to the block diagram on the programmer PC, but when I try to open any of the sub VI’s nothing happens, for some reason I can’t open any of the sub VI’s

Back to the exe file; I have made sure that “Enable Debug” is checked when I created the exe file.

Regards

Jeff

0 Kudos
Message 3 of 4
(2,821 Views)

Hello Jeff,

 

I tried you set up here and I was able to look at the block diagram on my subVIs when using the debug application function. I would like you to double-check a few settings in your build specifications.  Make sure that you have all of your subVIs to be Always Included from the Source Files category.  After you have added the SubVIs to the project look in the Source File Settings category.  Uncheck the box for Remove Block Diagram and Remove Front Panel.  

 

After doing these steps are you still not able to open the subVIs?
Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 4 of 4
(2,791 Views)