Admin Panel

System Management

Exaplan provides a system management and automation interfaces where you have:

  • 4 preset buttons:

    • System Restart, OFF

    • Projectors ON, OFF

  • Up to 6 custom buttons

The configuration file for the panel is located in:

"C:\Exaplan\Exaplan_Data\StreamingAssets\Exaplan_AdminControlPanel.json"

The syntax for the admin panel components is explained below:

Class
Parameters

admin

  • pinlock: true, false Lock the admin window with a password.

  • pin: pick a 4 digit PIN. e.g. "1234"

projectors

list of projector IP addresses to be used with pjlink commands

pjlinkPort

Port for pjlink communication with projectors. Default is 4352

defaultButtons

the 4 default buttons for turning ON/OFF the system and projectors.

customButtons

add up to 6 extra buttons with custom commands.

Buttons syntax:

Button Parameter
Description

label

Name of the button shown in text on the interface.

color

Color of the button. Options are: red,blue,green,white.

type

  • "system": command line instruction in batch language.

  • "pjlink": protocol for projection control over TCP/IP.

  • "exaplay": tcp command to exaplay. Requires:

  • "macro" : a sequence of commands from the types above. Takes a list of "commands" : [ ]

Example:

{
  "admin": { "pinLock": false, "pin": "1234" },
  "projectors": ["192.168.49.101","192.168.0.103","192.168.0.102"],
  "pjlinkPort": 4352,
  "defaultButtons":[
    { "label": "System Restart", "color": "blue", "type": "system", "command": "shutdown -r" },
    { "label": "System OFF", "color": "red", "type": "macro", "commands": [
      { "type": "pjlink", "command": "POWR 0" },
      { "type": "system", "command": "shutdown" } ] },
    { "label": "Projectors ON", "color": "blue", "type": "pjlink", "command": "POWR 1" },
    { "label": "Projectors OFF", "color": "red", "type": "pjlink", "command": "POWR 0" }
  ],
  "customButtons": [
    { "label": "Exaplay Stop", "color": "green", "type": "exaplay", "ip": "192.168.49.101", "port": 8100, "command": "stop,comp1" },
    { "label": "Run cmd", "color": "white", "type": "batch", "path": "C:\\\\Exaplan\\\\Exaplan_Data\\\\StreamingAssets\\\\Demo_Data\\\\template.bat" }
  ]
}

Last updated