_Managers

The work station rights are set via this data point type (see work station authorization)

Data point element Type Description
Auth.ManType dyn_uint Type of the manager, for example, UI_MAN is 4, see getManIdfromInt()
Auth.ManNum dyn_uint Number of the manager.
Auth.ManPerm bit32 The authorization level is set as a bit.
Exit int Manager ID of the manager to be restarted.
  • Value [1..x]: Shuts down the manager with the specified ID.
  • Value 0: Shuts down the EVENT manager
  • Value -1: No action will be taken
The manager ID can be retrieved by using convManIdToInt()).
Refresh int Initiates a refresh for the given manager (is equivalent to a redundancy switching, which means the renewal of dpConnects, dpQueryConnects etc). The value that must be specified for a manager can be determined with the convManIdToInt() function. "0" initiates the refresh for all connected managers.

Example

main()
{
  int num;
  getValue("num", "text", num);
  dpSet("_Managers.Exit:_original.._value",
  convManIdToInt(CTRL_MAN, num));
}