%info@http:://golem.fjfi.cvut.cz/wiki/root/GW4reports \def\GWpar{ \label{sec:RemoteControlInterface} Measurements are to be set up and shots initiated using the web interface of the GOLEM tokamak, which can be seen in Figure \ref{fig:remote_control}. %The URL address of this web interface is \url{http://golem.fjfi.cvut.cz/remote/control_room} %However,it is recommended to use the URL provided by the remote experiment personnel, %because it will likely include the necessary access token. \par The whole system is designed with such care and safety standards, that within the web control interface it is not possible to request technological parameters of the discharge that can harm the tokamak. Therefore, students can freely choose their parameters without the fear that they destroy any part of the device. \par The system is protected with an access token provided by the operators for the particular event. When visiting the control interface for the first time, a form is displayed asking for the \textbf{Identification} and (if not included in the URL) the \textbf{Access token}. The Identification is a user-name by which the current user wishes his discharges to be identified in the database. The access token is a (secret) string of characters giving access at a specific level of device control. Access tokens typically have an associated expiry time (typically used for excursions or on-off events) and possibly a discharge request quota. \par Typically, a set of URLs is provided by the local support to the remote operating group. These URLs typically contain encoded in them the access token and possibly the identification. These links can then be easily sent to the individual members of the remote group via electronic means of communication, or simply displayed as QR code for them to scan with their smartphones. The latter option is typically used for excursions to the tokamak or other short demonstrations. \par \GWif{width=0.75\tw}{Handling/Controll/RemoteControl/OnlineExperimentalApplication/RemoteControlInterface/fig} \par The left part of the top navigation bar contains links to 4 pages of the remote control interface. These are in order: \begin{itemize} \item \textbf{Introduction:} This page features video and other materials introducing the user to the GOLEM tokamak and its handling. \item \textbf{Control room:} This is the actual page shown in \autoref{fig:remote_control} for setting up discharge configuration requests and submitting them to the requests queue. This page is described in greater detail below. \item \textbf{Live:} This page displays a live, real-time (up to a $\sim 10$~s delay) view of the tokamak chamber and room IP cameras, the current state of the machine (capacitor voltages, working gas pressure, discharge procedure progress) and the discharge requests queue. \item \textbf{Results:} This page lists a table of executed discharges for the currently logged-in user. The table contains links to discharge results as well. \end{itemize} \par The right part of the top navigation bar contains information regarding the currently logged-in user and access level and a help button. Clicking the user-name will redirect to a form offering to change the user-name (Identification). Clicking the access level will redirect to a form offering to change the access level with an appropriate access token. \par The remote control room interface shown in~\autoref{fig:remote_control} consists of 2 columns. The 2 columns are side-by-side only on a wide, desktop-like display, on a narrow mobile-like display the columns responsively stack vertically. The left column contains a panel with 6 tabs at the top. Each tab corresponds to a step in the discharge setup procedure configuring a given tokamak sub-system. \par The right column contains a rendering of the 3D tokamak model which dynamically changes according to the currently selected tab. The rendering window can either show static images (default, fast), or an interactive 3D model based on X3DOM browser technology (slower). The latter requires a computer or mobile device with sufficient graphics rendering capabilities. The rendering method can be selected below the rendering window. \par Each tab in the left column contains at least one of the following: \begin{itemize} \item brief information about the setup step \item an engineering schematic of the tokamak sub-systems with the one currently being configured highlighted (the full engineering scheme can be seen in Figure \ref{fig:live}) \item a slider widget for selecting a parameter value from a numerical range \item checkboxes for selecting mutually-exclusive options \item a \textbf{Next} button which switches to the next tab (configuration step) \item a \textbf{Set recommended value} button \end{itemize} \par It is possible to arbitrarily switch between tabs, for instance when one wishes to go back to a previous setup step. \par The availability of specific tabs and configurable controls on them is controlled by the access level specified by the access token. This enables tailoring of the user experience to the remote operation task at hand, e.g. removing hiding and pre-configuring more complicated controls for remote user groups which are performing only introductory experiments. }