Added device name doc

This commit is contained in:
l_samenv
2024-09-11 09:22:15 +02:00
parent d8d1d40881
commit ba118ab56e
2 changed files with 18 additions and 0 deletions

View File

@ -29,6 +29,23 @@ The export popup, the dates popup and the curves settings popup are considered a
## Miscellaneous
### About instrument and device name
There is a difference between what is displayed in the top left hand corner of the left part (in the grey box) and the right part ("main" block).
In the right part, with a server started :
- with `sea` or `influxsea` type, only the instrument name is displayed. This information is taken from SEA.
The behavior is not known for a server started with `secop` type.
In the left part, with a server started :
- with `influxsea` or `influx` type, the instrument is taken from the command that was used to launch the server, and the device is taken from InfluxDB. More specifically, it takes the value out of the `value` field in the measurements `nicos/se_main`, `nicos/se_stick` and `nicos/se_addons`. For each of these measurements, we take the last entry in the database until the end of the visualization window. It has to be mentionned that the device name is updated at each jump in time via the dates popup (go to now or jump). The device name is formatted as `<main>[/<stick>][/<addons>]`. An url can be shown for one of these component.
- with `sea` type, the instrument is taken from the command line used to launch the server, and device is taken from SEA (device is got with the request `samenv name`).
The behavior is not known for a server started with `dummy` type.
###
### About updating graphics
- When the server is pushing data, the newly received data is appened to the current curves (on livemode).