LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote panel doesn't work

I am using 2011 SP1 version of LabVIEW, toolkits and add-ons. I am trying to make the following remote panel opening VI work.

 

RemotePanel.png

 

This used to work well on LabVIEW 8.5 but now I get an Error 7 from the last Invoke Node of the second loop. The top loop works fine. HPAC Main.vi is running as a startup VI on the RT target (PXI-8106). I can open its front panel using this VI. But the second loop can't open ST_viewer 1.vi. File names and paths are all correct. For building HPAC.rtexe, on the Source Files tab, HPAC Main.vi was chosen as a startup VI while ST_viewer 1.vi was put in the Always Included box. The VI server of the PXI is using TCP/IP port 3363. The PXI is directly connected to this host PC by an Ethernet cable.

 

I also made a very simple project (attached file named ServerTest), deployed its rtext to the PXI and ran it as startup. After rebooting, I tried to open the remote front panel of main.vi and sub.vi on the PXI using access.vi. I get the following errors at the Invoke Nodes.

 

For trying to open main.vi > Error 1352: Requested VI is not loaded into memory on the Server Computer

Fro trying to open sub.vi > Error 7: File not found......

 

As suggested in the article, Real-Time System Manager seems useful but I can't find it. Tools > Real-Time Module > and then I can't find the system manager. I only see Project Wizard, Configure Time-triggered Network and Execution Trace Toolkit. Does 2011 version have something else?

 

Any help will be appreciated!

Download All
0 Kudos
Message 1 of 4
(3,401 Views)

Hi MemoryGrowth,

 

In LabVIEW 2011, the tool you are looking for is the Distributed System Manager (Tools » Distributed System Manager).  You can use this to make sure that the VIs you are trying to access are in fact loaded into memory and running on the RT target.  You will also want to confirm that you followed the steps listed here to enable the remote front panels.

Jayme W.
Applications Engineer
National Instruments
Message 2 of 4
(3,346 Views)

Thank you, JaymeW. I found the VI States tab in the Distributed System Manager. And yes, all the steps in that article were already done.

 

If I set sub.vi as a startup VI on the PXI along with main.vi, then I can open it using the same method that opens main.vi. However, if I put sub.vi in Always Included box on Source Files tab and use the VI server to open it, I get errors.

 

On the VI States monitor, I see main.vi running as a startup VI on top level when I turn on the PXI. Then, I run access.vi and open main.vi successfully. When I click the sub.vi open button, sub.vi appears on the monitor with Run Top Level status but I get error messages.

 

At the first attempt to call the remote front panel of sub.vi, I get:

 

LabVIEW: Resource not found.

An error occurred loading VI 'lvfpp0.vi'.

LabVIEW load error code 3: Could not load front panel.

 

From the second call, I get:

 

Error 1000 occured at Invoke Node in access.vi

Possible reason(s):

LabVIEW: The VI is not in a state compatible with this operation.

Method Name: Run VI.

 

Could you take a look at the attached simple project and suggest a solution? Thank you!

0 Kudos
Message 3 of 4
(3,332 Views)

Hi MemoryGrowth,

 

It looks like there's a possibilty that there is a corruption in the VI itself.  You can find more information about that in this discussion forum thread.

Jayme W.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,310 Views)