Log In VI
- Updated2025-10-06
- 3 minute(s) read
Saves login credentials for an SLSC chassis on the local system. When the SLSC driver opens a network connection to an SLSC chassis, it checks whether there are any saved login credentials for this chassis. If so, the SLSC driver uses the saved login credentials. Otherwise, the SLSC driver tries default credentials with anonymous as the username and an empty string as the password.
This VI opens a new network connection to the chassis to test the new credentials before it saves them, and closes it afterward. Log In does not reuse or affect cached network connections, nor does it cache the new network connection.
If you set save credentials to disk? to TRUE, this VI saves the credentials in a platform-specific disk location and format. If saved credentials exist in memory, they are deleted.
- (Windows) SLSC stores credentials in your Windows Credential Manager vault. The credentials are encrypted with your Windows login information. You can view, manage, or delete your credentials via Control Panel » User Accounts » Credential Manager.
- (NI Linux Real-Time) SLSC stores credentials in a cleartext JSON file in /home/lvuser/.config/nislsc/loginCache. Each SLSC chassis has a separate file.
- (Phar Lap ETS) SLSC stores credentials in a cleartext JSON file in c:\ni‑rt\system\niwebcer\nislsc\loginCache. Each SLSC chassis has a separate file. This path is not accessible over FTP. It is accessible via WebDAV and from VIs deployed to the RT target.
If you set save credentials to disk? to FALSE, this VI saves the credentials in the memory of the calling process. If saved credentials exist on disk, they are deleted. On Windows, exiting the application process clears in-memory credentials. On Phar Lap ETS, restarting the RT target clears in-memory credentials.

Inputs/Outputs
password
—
password specifies the password for accessing the device.
username
—
username specifies the username for accessing the device.
session in
—
session in specifies the session to access for the given action.
chassis
—
chassis specifies the chassis.
error in (no error)
—
error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.
connect timeout (60 sec)
—
connect timeout (60 sec) specifies the maximum amount of time, in seconds, to wait when connecting to the specified resource. This VI returns an error if timeout expires. Set connect timeout to -1 to use the value of the Session.TCPIP.ConnectTimeout property.
save credentials to disk? (F)
—
save credentials to disk? (F) if TRUE, saves login credentials to a platform-specific disk location. If FALSE (default), credentials are stored in the memory of the calling process.
session out
—
session out is a copy of the session in reference.
error out
—
error out contains error information. This output provides standard error out functionality. |
password
—
session in
—
error in (no error)
—
connect timeout (60 sec)
—
save credentials to disk? (F)
—
session out
—
error out
—