How To Avoid Displaying a Login Dialog Box When You Launch the Sequence Editor or an Operator Interface
In the new FrontEndCallback.seq file, the Login step of the LoginLogout sequence is skipped and a Sequence Call step, AutoLogin, has been added. The AutoLogin step calls the AutoLogin sequence, which demonstrates two additional methods. Using these methods, you can login without having to display the Login dialog box. These methods are only implemented if preceding attempts to login fail.
There are four methods within the AutoLogin sequence that are used when you attempt to login to TestStand. The methods are listed here but for additional discussion see the readme.txt file.
- Display the standard Login dialog box. (Default method)
- If the station option Automatically Login Windows System User is enabled, TestStand uses the current Windows user name.
- Use the user name, AutoLoginUser, which you must add to the TestStand User Manager.
- Dynamically create a User object with which to login.
To install this example sequence file, copy it to
FrontEnd\FrontEndCallback.seq file. TestStand will automatically use the FrontEndCallback.seq in your User directory over the one in your NI directory.
Requirements
Filename: 8023.zip
Software Requirements
Application Software: NI TestStand Development System 1.0.1
Language(s): None
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
