Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GetSecurity

Returns the current security level.

Function

n=GetSecurity()

Description

Returns the current security level and stores the value to the variable.

Example

Stores the current security level to the variable “Slevel”.

Var Slevel;

……

Slevel = GetSecurity();

LogOnWin

Brings up the User Log On window.

Subroutine

LogOnWin()

Description

Brings up the User Log On window on Xpanel. If there is no registered user in the project, the window will not appear.

Image Added

Select a user and enter the password. If you enter a wrong password, a message will pop up as shown below.

Image Added

You can change the password by pressing the ‘Password’ button on the User Log On window. If you press the button, a message box will pop up asking if you want to change the password.

Press the ‘Yes’ button to go to the ‘Change password’ dialog box.

Image Added

PW: Enter the old password.

New P/W: Enter the new password.

Confirm P/W: Enter the new password again.

You can apply the new password to the ID by pressing the ‘OK’ button.

Example

Brings up the User Log On window.
LogOnWin();