LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Embedding remote vi front panel into HMI

Solved!
Go to solution

I have a scenario that I was hoping someone might have a good idea on how to implement. There is an existing HMI with a labview interface that displays information from a sensor. There are a few tabs on the HMI showing different information from the sensor.

 

We now need to add a second PC and a different sensor to the setup but this second PC wont have an HMI. What we would like to do is take the data from this new sensor and display it on the original HMI. We would like to only have to update the HMI software once and then any changes on the new PC would not need any further changes on the HMI.

 

I have seen that its possible to embed a vi front panel into another front panel on the same PC, is there a way to do something similar for this usage case over a network cable? Or is there a better solution that we aren’t seeing?

0 Kudos
Message 1 of 7
(2,130 Views)

I havn't tried it, but there is a "Insert Remote VI" property node for subpanels.

snip.png

0 Kudos
Message 2 of 7
(2,108 Views)

Martin that sounds like a good solution. When I create a sub panel I dont see the insert remote vi option on the property node. Is there something extra I need to do to get that option?

0 Kudos
Message 3 of 7
(2,061 Views)

Hi Martin that sounds like a good solution. When I add a sub panel and look at the property node I dont see the insert remote vi option, is there something else I need to do?

0 Kudos
Message 4 of 7
(2,084 Views)
Solution
Accepted by topic author Mike1979

Brown nodes like that one are hidden as they are generally used by NI developers only so they are not as thoroughly tested and documented, etc. (Blue = scripting, red=deprecated).

 

You should be able to see it if you modify your INI file.   If you close LabVIEW, go to the LabVIEW folder (probably C:\Program Files (x86)\National Instruments\LabVIEW 20xx), then open the LabVIEW.ini file, you need to add this line somewhere:

 
SuperSecretPrivateSpecialStuff=TRUE
 
The next time you open LabVIEW, this will add a huge amount of extra properties/methods to most of your LabVIEW property/invoke nodes.  It adds so many that it's actually hard to find the ones you want in most cases, so I don't add it most of the time.
 
Also, if there's a hidden selection on any node, no matter why it's hidden (deprecated, scripting, developer mode, etc.) this should always work to create it (without needing to install anything as an addon or set any INI flags):

 

1. Create a property or invoke node from the object type you want the hidden property or function of.  In this case, it appears to be an Subpanel invoke node.

2. Select the node (and nothing else), then press control-space to bring up the quickdrop window.

3. In the quickdrop window, type in the exact name of the property or function you need (case insensitive, but spacing and punctuation needs to be intact).

4. Press Control-Shift-B.

0 Kudos
Message 5 of 7
(2,074 Views)

@Kyle97330 wrote:

Brown nodes like that one are hidden as they are generally used by NI developers only so they are not as thoroughly tested and documented, etc. (Blue = scripting, red=deprecated).

 

You should be able to see it if you modify your INI file.   If you close LabVIEW, go to the LabVIEW folder (probably C:\Program Files (x86)\National Instruments\LabVIEW 20xx), then open the LabVIEW.ini file, you need to add this line somewhere:

 
SuperSecretPrivateSpecialStuff=TRUE
 
The next time you open LabVIEW, this will add a huge amount of extra properties/methods to most of your LabVIEW property/invoke nodes.  It adds so many that it's actually hard to find the ones you want in most cases, so I don't add it most of the time.
 
Also, if there's a hidden selection on any node, no matter why it's hidden (deprecated, scripting, developer mode, etc.) this should always work to create it (without needing to install anything as an addon or set any INI flags):

 

1. Create a property or invoke node from the object type you want the hidden property or function of.  In this case, it appears to be an Subpanel invoke node.

2. Select the node (and nothing else), then press control-space to bring up the quickdrop window.

3. In the quickdrop window, type in the exact name of the property or function you need (case insensitive, but spacing and punctuation needs to be intact).

4. Press Control-Shift-B.


Thank you for the detailed reply! I will now have to explore all these extra menus that you have unlocked for me

0 Kudos
Message 6 of 7
(2,027 Views)

@Kyle97330 wrote:

Brown nodes like that one are hidden as they are generally used by NI developers only so they are not as thoroughly tested and documented, etc. (Blue = scripting, red=deprecated).

 


I posted a snapshot from LabVIEW 2018. This property node is yellow for newer labview versions.

0 Kudos
Message 7 of 7
(1,972 Views)