10-10-2008 08:17 AM
Hi,
I'm building a simple TestStand user interface on LabVIEW and I would like to disable the login.
But when I disable login all controls are disabled automatically.
How do I disable login or use the administrador login by default on my LabVIEW UI?
I'm using LabVIEW 8.5 and TestStand 4.1.
Thanks,
Daniel Coelho
10-10-2008 10:38 AM
Daniel,
there are two easy options you can use:
a) Disable user management. You can remove the checking for user priviliges in the Station Options >> User Management. But please keep in mind that this setting is valid for the whole station then also effecting any other UI you run on that machine.
b) Create a user in the user management whose name fits the Windows User. E.g. if you log on to Windows as "DC01", create a TestStand user called "DC01" and give him the priviliges needed. Then place a check in the checkbox "Automatically Login Windows System User" in the Station Options >> User Management.
I suggest you to do b).
You can programmatically disable user management in your UI and therefore deactive the login-mechanism, but this requires some experience in using the TestStand API....
hope this helps,
Norbert
10-10-2008 10:50 AM
Hi Norbert,
thank you for your reply.
I think I'll go for option b).
But still could you try to explain how it could be done programaticaly?
This way this would work on any machine.
I just hope I can understand how to implement it 😉
Daniel Coelho
10-15-2008 02:27 AM
Hi Daniel,
Here are some links that could help you manage the Login popup windows directly accessing to FrontEnd Callbacks.seq.
The first one is a Knowledge Base on how to disable user management.
The two others are examples making modifications in FrontEnd Callbacks.seq to customize Login with your needs.
http://digital.ni.com/public.nsf/allkb/4979F8FDB7ED698B8625712B000CFD14?OpenDocument
http://zone.ni.com/devzone/cda/epd/p/id/3700
http://zone.ni.com/devzone/cda/epd/p/id/3696
Hope this helps!!
Regards,
Olivier L. | Certified LabVIEW Developer