_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 | Data or Event manager ID of the manager, which will be restarted (see 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));
}