NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Use administrator TestStand login by default on a LabVIEW UI

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

 

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 1 of 4
(4,393 Views)

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 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(4,390 Views)

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

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 3 of 4
(4,388 Views)

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


0 Kudos
Message 4 of 4
(4,353 Views)