LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Front Panel Preallocated Clone

I'm attempting to use the remote front panel feature to connect to a reentrant VI. When I use the web creation tool, it points to the VI that the reentrant clones are spawned from.

I'm considering something like having the clones edit the html file with their clone name.

Is there an easier way to accomplish this?

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

Hi MPCC,

 

When different clients connect to the reentrant VI, new clones should spawn for each connection as stated here under "Multiple Clients Simultaneously Controlling Remote Front Panels":

http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/viewing_fp_remote/

 

Is the VI not behaving as reentrant? Could you try calling it from multiple clients to check?

Dale S.
RF Systems Engineer - NI
0 Kudos
Message 2 of 4
(2,605 Views)

The problem isn't that I can't get multiple clients to connect. The problem is that when any client connects it connects to the base VI that isn't actually running instead of the clone. So it's inactive.

 

ie. 

VI is named: WebGUI.vi

HTML document connects to WebGUI.vi and that front panel loads in the browser.

The actual VI that is executing in memory is WebGUI.vi 23426 (clone) 

 

So the result is, I get a dead front-panel because it's not acquiring the instance that is being executed.

Message 3 of 4
(2,600 Views)

Hello MPCC,

 

I found somethings you can try or check if you have configure it correctly.

 

1. Shared clone reentrant execution or Preallocated clone reentrant execution

http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/viewing_fp_remote/

2.Viewing the Front Panel of the Clone of a Reentrant VI

http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/reentrancy/

 Let me know if it worked.

 

 

 

0 Kudos
Message 4 of 4
(2,582 Views)