screencast
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
screencast [2020/09/23 15:03] – atolstov | screencast [2022/01/14 13:41] (current) – ↷ Links adapted because of a move operation emozolyak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round box 60%> | ||
{{: | {{: | ||
{{ : | {{ : | ||
Thanks to our partners for the visual materials provided. | Thanks to our partners for the visual materials provided. | ||
+ | </ | ||
+ | |||
+ | {{ network: | ||
====== Screencast ====== | ====== Screencast ====== | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 19: | Line 23: | ||
The screencast serves to fulfil these requirements. You can create a context-sensitive environment to keep the operator focused. It will provide the dispatcher with only the information it needs without having to manually switch the dispatcher part. | The screencast serves to fulfil these requirements. You can create a context-sensitive environment to keep the operator focused. It will provide the dispatcher with only the information it needs without having to manually switch the dispatcher part. | ||
+ | |||
+ | {{ network: | ||
+ | |||
==== Best practises ==== | ==== Best practises ==== | ||
There are several typical solutions, where screencast is essential and which fully unlocks the potential of the screencast. Here it is: | There are several typical solutions, where screencast is essential and which fully unlocks the potential of the screencast. Here it is: | ||
Line 36: | Line 43: | ||
==== Role ==== | ==== Role ==== | ||
- | In this example it will be new role creation considered. | + | In this example, it will be a new role creation considered. |
+ | On the menu " | ||
{{ : | {{ : | ||
- | Let's edit roles permissions to be able to have access to page that we intented | + | Let's edit roles permissions to be able to have access to the pages that we intended |
{{ : | {{ : | ||
- | Those are dashboards and screens in the example case. | + | Those permissions |
{{ : | {{ : | ||
Line 47: | Line 55: | ||
{{ : | {{ : | ||
- | ==== Permissions | + | ==== Dashboard' |
+ | |||
+ | Note that, there is also availability checkboxes for the roles in the everyone dashboard settings. | ||
{{ : | {{ : | ||
- | Make sure that e.g., dashboard or screen | + | \\ |
+ | Make sure that dashboards | ||
{{ : | {{ : | ||
Line 59: | Line 70: | ||
The screencast link for user " | The screencast link for user " | ||
\\ | \\ | ||
- | Its address will be displayed as '' | + | Its address will be displayed as '' |
\\ | \\ | ||
+ | \\ | ||
+ | The Lua script will be considered below. | ||
In the Lua editor, you can link that register with GUI. If there are multiple screencast-mode users, make sure to select the corresponding link when editing. In the given example there are no any other registers. | In the Lua editor, you can link that register with GUI. If there are multiple screencast-mode users, make sure to select the corresponding link when editing. In the given example there are no any other registers. | ||
{{ : | {{ : | ||
When creating a Lua script, it would look like this: | When creating a Lua script, it would look like this: | ||
{{ : | {{ : | ||
- | This script will be considered below. | + | |
==== Lua script ==== | ==== Lua script ==== | ||
- | Lua script is a handler for screencast page, which will be cast to the user. | + | The Lua script is the handler for the screencast page that will be cast to the user. |
If you will do some research about how your system works, you will be able to create e.g., a context-sensitive system or work out the time-based rules and so on. | If you will do some research about how your system works, you will be able to create e.g., a context-sensitive system or work out the time-based rules and so on. | ||
- | + | As the simplest example, | |
- | As the simplest example, | + | |
<code lua> | <code lua> | ||
- | array = {"/ | + | array = {"/ |
timestamp | timestamp | ||
Line 82: | Line 93: | ||
function main (userId) | function main (userId) | ||
- | if os.time() | + | if timestamp |
- | + | ||
- | index = index+1 ; if index > #array then index = 1 end | + | |
| | ||
+ | index = index+1 ; if index > #array then index = 1 end -- make a loop from index values | ||
+ | -- Put the link to register | ||
WriteReg(" | WriteReg(" | ||
| | ||
- | timestamp = os.time() | + | |
- | change_time = timestamp + DELAY | + | change_time = timestamp + DELAY -- renew change_time |
- | end | + | end |
+ | |||
+ | timestamp = os.time() | ||
DEBUG(" | DEBUG(" | ||
DEBUG(" | DEBUG(" | ||
- | tonumber(change_time-os.time())) | + | |
end | end | ||
</ | </ | ||
Line 103: | Line 116: | ||
It is the screencast user just after signing in. A " | It is the screencast user just after signing in. A " | ||
\\ | \\ | ||
- | Screencast mode is enabled, hence homepage for the user is '' | + | Screencast mode is enabled, hence homepage for the user is '' |
- | + | ||
- | This page always redirects to the page, which set in the screencast register. As a Lua script changes it, reload will be initiated. As you can see there is the 15 seconds delay between the automatical switching. | + | |
+ | This page always redirects to the page, which set in the screencast register. As a Lua script changes it, reload will be initiated. | ||
{{ : | {{ : | ||
+ | As you can see there is the 15 seconds delay between the automatical switching. | ||
+ | |||
===== User cases ===== | ===== User cases ===== | ||
==== Power Supply parameters monitoring ==== | ==== Power Supply parameters monitoring ==== | ||
- | {{ : | + | {{ : |
You can show input power energy parameters using screencast. The advantage of screencasting it that, it is allowed to you to show them one at a time if your device' | You can show input power energy parameters using screencast. The advantage of screencasting it that, it is allowed to you to show them one at a time if your device' | ||
In addition, it will make it much more visible, rather than distracting images. | In addition, it will make it much more visible, rather than distracting images. |
screencast.txt · Last modified: 2022/01/14 13:41 by emozolyak