Siwenoid Wiki

Support tools

The Support screen (licence information and seats, telegram tracker, client status cache, server cache), the Diagnostics window and the alert note.

At a glance
Support screen File › Settings › Support
Diagnostics File › Diagnostics or Ctrl+Shift+D (administrators)
Alert note signal log › Note (administrators)

These tools help commissioning engineers and administrators check a running system: how the licence is used, what a device really sends, whether the server's cache is warm, why a client is slow, and how to reach every operator at once.

The Support screen

Open File › Settings and click the Support tile. Its tabs depend on the user's permissions:

Tab Needed permissions
License informations Manage Support or View license informations
Telegram tracker Manage Support and Manage telegrams and caches
Client status cache Manage Support and Manage telegrams and caches
Server cache Manage Support and Manage telegrams and caches

License informations

This tab shows the licence of the server the client works with, the servers and the licence seats in use. The licence itself is described in Licensing.

Section Content
License informations Current / Licensed Datapoint count:, Licensed Client count:, Licensed Server count:, License expiration date: and Time remaining:. Update informations reads them again. License request holds the text to send to your supplier when you order a software licence; the licence of a USB key is extended with the License Utility (see Licensing).
Servers One row per configured server: Server, State (Reachable, Unreachable or No answer, and serving or not serving), Role (Primary, Secondary or Single server), Last seen and Warnings (see Hot standby server pair).
License seats in use Administrators only. Every logged-in desktop or web client holds a seat: User, Client (Desktop or Web), Workstation, Address, Version, Logged in since, Last seen.

To free a seat, for example of a client that crashed, click Drop in its row and confirm. If that client is still running, it logs in again and takes a seat again.

Telegram tracker

The telegram tracker shows the messages ("telegrams") a container exchanges with its device, live. Use it to see whether a device answers and what it sends when an event happens. Received telegrams are always shown; sent ones only for handlers that report them.

The telegram tracker following a container, the lists separated.
The telegram tracker following a container, the lists separated.

Control Meaning
Sources › Containers Track one container. The list shows the physical containers the user may see.
Sources › Protocols Track every container of one protocol.
Tracking On starts tracking the selected source, Off stops it.
Lists Merged: incoming and outgoing telegrams in one list. Separated: in two lists.

Each row shows the direction (an arrow), the time and the text of the telegram; parts the handler marks are shown in bold. The list keeps the latest 2000 rows. If the client cannot keep up, the server skips telegrams and the panel shows how many were skipped.

Tracking stops when you switch it Off, choose another source, close the Preferences window or log out. It also stops when the connection to the server breaks; it does not restart by itself: switch it On again. A server tracks telegrams for at most 10 clients at a time; when the limit is reached the panel says The server is tracking telegrams for too many users at the moment. Please try again later.

To check a device connection:

  1. Open Support › Telegram tracker.
  2. Choose Containers and select the container.
  3. Switch Tracking to On.
  4. Trigger an event on the device or send a command to one of its datapoints, and watch the telegrams.
  5. Choose Separated to see received and sent telegrams apart (where the handler reports the sent ones).
  6. Switch Tracking to Off when you are done.

Client status cache

This tab shows how many Datapoints and Statuses this client holds. It is a quick check that the client receives the statuses from the server. Nothing is asked from the server.

Server cache

The server keeps the datapoints it has worked with in memory, so it can handle the next event of the same datapoint without reading the database. After a server restart the cache is empty, and the first events of each datapoint are a little slower. On a large site you can load the whole cache in advance with Load the server cache.

The Server cache tab during a load.
The Server cache tab during a load.

  1. Choose a quiet time: the load takes about 6 minutes per 40,000 datapoints, and the database and the server are busier meanwhile.

  2. Open Support › Server cache and click Load all datapoints into the server cache.

  3. Read the warning and click Start loading.

    The question before the load starts.
    The question before the load starts.

  4. Watch the status line, for example Loading: 12000 of 40000 datapoints loaded, 0 failed. When it finishes, it shows how long it took.

  5. If the server becomes slow, click Stop.

Rules of the load:

The server can also fill the cache at every start by itself; see Configuration files.

Diagnostics window

The Diagnostics window shows what the client on this computer is doing. Use it when an operator reports a slow or frozen client. Only administrators can open it: File › Diagnostics, or Ctrl+Shift+D in any client window.

The Diagnostics window.
The Diagnostics window.

The values refresh every second while the window is open; the window measures nothing when it is closed.

Section Shows
JavaFX thread How busy the client's screen thread is, and the Longest stall in the last minute. A long stall is a frozen screen.
CPU The client process, the whole computer and the number of logical processors.
Memory The client's memory use and the computer's free physical memory.
Garbage collection Memory clean-ups of the client and their pauses.
Animations The client's running animations.
Threads The number of threads and the busiest ones in the last second.
Scene Screen elements, controls and map buttons per window and tab, counted on Count nodes.
Network The connection to the server: requests and answers per second, errors, response times, the round trip to the server; the state of the status and change streams (connected, reconnecting, down), their reconnects and last events; the servers answering and the serving server.

Buttons:

Independently of the window, the client writes every freeze of half a second or longer to its log file (see Troubleshooting).

To investigate a slow client:

  1. Press Ctrl+Shift+D on the slow client.
  2. Look at the JavaFX thread stall, the Memory and the round trip in Network.
  3. While the problem happens, click Record 30 s.
  4. Send the recorded file, the text from Copy to clipboard and the client's log file to support.

Alert note

An alert note is an urgent message to every logged-in operator. Each operator gets it as a notice card in the bottom right corner of the main window, with the alert sound; closing the card stops the sound. The note, its sender and time are recorded in the event log. Only administrators can send one.

Sending an alert note from the signal log.
Sending an alert note from the signal log.

  1. In the signal log toolbar, click Note and choose Send an alert note.
  2. Type the Message: 1 to 1000 characters, without ;.
  3. Click Send.

A client that was disconnected and receives the note more than 10 minutes late shows no card and plays no sound. For an ordinary note on an alarm, see Signal log.