04-20-2010 09:34 AM
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
04-20-2010 09:36 AM
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
04-20-2010 09:55 AM
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.
04-20-2010 10:06 AM
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
04-20-2010 10:07 AM
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).
04-20-2010 10:12 AM