LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

one user interface for multiple VIs


shoemakesmusic wrote:
Thanks, Ben.  That is what I figured.  So is subpanel the only way to do what I want?  It sounds like it is.

 

Assuming you already have the VI's written then sub-panels seem like the most expediant direction.

 

There are otther approaches but require more work and thought.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 11 of 16
(716 Views)

James W wrote:

Just a query to all the really good programmers out there....

 

Why not use a tab control for this? - then the OP puts each FP in a tab and just has to restrict access to the specific tabs.

 

James


Yes put a sub-panel on each tab page or...

 

Copying all of the code of his operational VIs to the main app with the controls for each on a seperate tab... that would require more work but in theory is do-able.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 12 of 16
(713 Views)

 

To OP,

 

You either have to set-up the protection on each sub-panel the same way you did for the top level VI 

Ben


I'm not sure what you are referring to here.  I have already implemented security on the VIs that I want to use in the subpanels.  However, when I use them in the subpanels that security does not work any more.  Are you saying that I need some type of security on the top level VI as well?  Just trying to make sure I understand all my options here.  Thanks. 

 

0 Kudos
Message 13 of 16
(700 Views)

shoemakesmusic wrote:

 

To OP,

 

You either have to set-up the protection on each sub-panel the same way you did for the top level VI 

Ben


I'm not sure what you are referring to here.  I have already implemented security on the VIs that I want to use in the subpanels.  However, when I use them in the subpanels that security does not work any more.  Are you saying that I need some type of security on the top level VI as well?  Just trying to make sure I understand all my options here.  Thanks. 

 


 

THat DSC feature was introduced before sub-panels so there may be a bug in DSc preventing it from working on FP in sub-panels. So your reports sounds like using DSc is now off of the table.

 

In that case...

 

Gird up your loins, you will have to code this functionality yourself using property nodes. If you intend to move forward with this project, I suggest you review what I posted here along with its cross links for a clue to how to get started.

 

And before you say "but Ben I have 200 controls!", I have done the above with over 500 controls and supported other languages. 

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 14 of 16
(695 Views)

Genius

 

I've never seen the sub-panel option before. I thought you were talking about panes. I was thinking of making each VI a subVI of the GUI with it's controls in the tab.

 

How do you hide the scroll bars (my help is dead currently).

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 15 of 16
(694 Views)
But Ben, I don't have enough time!  HAHA.  Well thanks for the info.  I may not be able to implement on this project, but I will know for next time.  Hopefully there will be a fix for this some time down the road.
0 Kudos
Message 16 of 16
(689 Views)