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();

LogOn

Logs on with the user information.

Subroutine

LogOn(“UserID”,”Password”)

Description

Logs on with the user ID and password that is registered to ‘Security’. If the wrong information is used, one of the following messages will pop up.

Example

Logs on with the user ID “CIMON”, password “0000”.
LogOn(“CIMON”,”0000”);

 

...

LogOff

...

Logs out the current user.

...

Subroutine

...

LogOff();

...

Description

...

Logs out the current user.

...

Example

...

Logs out the current user.

LogOff();

 

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.

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

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 continue to the ‘Change password’ dialog box.

P/W: 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();

LogOff

Logs out the current user.

Subroutine

LogOff();

Description

Logs out the current user.

Example

Logs out the current user.

LogOff();