National Instruments BridgeVIEW 用户手册

下载
页码 455
Appendix A
HMI Function Reference
A-50
© National Instruments Corporation
Programmatic Login
Use the Programmatic Login VI to programmatically log in a user.
user name is the name of the user to be logged in to BridgeVIEW.
user password is the password of the user to be logged in to BridgeVIEW.
user name out is the name of the user to be logged in to BridgeVIEW. If 
the login fails, this is the name of the user currently logged in to 
BridgeVIEW.
access level is the numeric access level assigned to the current 
BridgeVIEW user.
access level name is a descriptive name associated with the numeric access 
level assigned to the current BridgeVIEW user.
login successful? is 
TRUE
 if the user name and user password are correct, 
and the user was successfully logged into BridgeVIEW.
error is an error code that describes the result of the programmatic login 
and can have one of the following values.
0
 Login successful (No Error)
1
 Invalid Password
2
 Invalid User Name