NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

remove login window

Is there any way possible to specify programmatically not to show the login window window when a TS application is started?

Dia
0 Kudos
Message 1 of 9
(5,760 Views)
Hi,

You could set the ApplicationMgr.LoginOnStart property to False before calling the Start method. The LoginLogout Front-End Callback will not be called.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 9
(5,758 Views)
Thank you very much. I appreciate the help.

I am farely new to TS and I am finding the boards here to be very helpful.

Again, thank you!

Dia
0 Kudos
Message 3 of 9
(5,748 Views)
"
You could set the ApplicationMgr.LoginOnStart property to False before calling the Start method. The LoginLogout Front-End Callback will not be called.
"
 
I would like to prevent the login popup.
 
I would like to know the location of this property of which you speak (LoginOnStart), so that I may set it to False.
I am assuming it is somewhere in a file,
perhaps on my computer.
 
 
0 Kudos
Message 4 of 9
(5,488 Views)
The Application Manager is an object that you can control in your application. Examples on how to deal with it are available in the TestStand examples. Have a look at the Operator Interface (<TS4.0) / User Interface (4.0)  examples. According to your preferred programming environment (LabVIEW, CVI, ...) you will find an appropriate project. Within these projects you will notice, that the Application Manager is configured in the application initialises.
Hope this helps, Guenter
0 Kudos
Message 5 of 9
(5,482 Views)
I am not sure, if this really is the solution Dia is looking for. The reason is, that it doesn't prevent the login itself, but it defers it until the user chooses to login.

Important Info: You cannot deactivate the login-procedure!

The reason for this is the way TestStand works. If there is no user logged in, the only function you can call from the TS API is "Login".....The user-rights then decide, which functions the logged in user can use.

BUT there is a way to automatize the login:
You have to create users which are named like your windows-logins. Then activate the checkbox "Automatically Login Windows System User" on the User Manager-tab in the Station Options. If you do this, you don't need to enter the password anymore since TS asumes that the user verified himself already during login to windows.

hope this helps,
Norbert B.
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 9
(5,474 Views)
By unchecking the Check User Privileges checkbox on the User Manager tab of the Station Options dialog box, you enable all editing functions even if no user is logged in.

If you want to automatically login a specific user, you have a couple of options:

1. You can create a TestStand user with the same name as your Windows login name and then check the Automatically Login Windows System User checkbox on the User Manager tab of the Station Options dialog box.

2. You can create your own LoginLogout sequence and add it to the <TestStand>\Components\User\Callbacks\FrontEnd\FrontEndCallbacks.seq sequence file. That sequence implements the Login and Logout commands.
0 Kudos
Message 7 of 9
(5,464 Views)
Hi Guenter,

You may also want to look at How to Create a Custom Login Dialog for TestStand.

Regards,
0 Kudos
Message 8 of 9
(5,458 Views)

Great James. And thanks for the link. (I am answering that late because it took me some additional time to return from Hungary.)

Have a great day, Guenter

0 Kudos
Message 9 of 9
(5,419 Views)