04-11-2016 03:47 AM
Hello,
I have a problem and a question:
Problem: I have created some front panel controls and assigned some groups to them. Administrators can see and make everything, Operator can not see some of them. If I build exe it works on Development PC but If I copy it to other PC, it doesn't work. It doesn't show those front panel elements. Domains are the same, SCADA, only PC names are different. Both PCs are not in the same network. I am creating local domains and users on both PCs via Domain Account Manager. What could the problem be?
Question: How can I create Access Control List (ACL) and assign them to front panel elements programmaticaly? What is the syntax? I didn't find any example code.
Thanks.
Solved! Go to Solution.
04-11-2016 07:52 AM
04-11-2016 08:58 AM - edited 04-11-2016 09:00 AM
Maybe I could not express my problem very well. The problem is not related to coding, rather it is related to the settings of front panel elements (GUI elements).
I click right on a GUI Element, in settings I click the tab "security", I set the access rights for each Groups.For example I have 2 GUI Elements and settings for each element are shown below:
There are 4 user groups by default. Administrators, Operators, Guests, Everyone. I added some users to each group via domain account manager in development PC as shown below:
I also added same groups in Deployment PC as shown below:
If I start my program in my PC (Development) and if I log in as Administrator via NI Security Login , GUI Elements are shown, If I log in as different user, GUI Elements are not shown as expected and as desired.
But in the Deployment PC, GUI Elements are not shown, If I log in as Administrator. The deployment PC has DSC-RTS licence already installed and it is running.
By the way, I forgot to write my configurations:
OS: Win 8.1 Pro
Labview 2014 SP1 with DSC module.
04-15-2016 04:23 AM
Any ideas?
04-19-2016 07:05 AM
I have found solution. Maybe someone also needs it:
You have to copy the folder C:\Program Files (x86)\National Instruments\Shared\Domain from development pc to other PCs, in which you want to have same domain and same users. It does not work to generate new domain with exactly same name on other pc and to generate new users. You must copy the whole directory from your pc to other pc. It works now.