Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The procedure is the same for EPU1, only using its window and changing the name of the target to lat-elf4.

Starting the proxies

The VSC allows only one client for each type of telemetry stream, but in a LICOS session several programs may have to monitor the same streams independently:

  • the script engine,
  • the Current Value Table a.k.a. the CVT (not covered here),
  • the ISOC archiver (not covered here).

(However only the script engine needs a command connection to the VSC).

The telemetry streams are therefore divided into three broad categories with a proxy server for each:

  • VSC/LAT housekeeping,
  • VSC/LAT diagnostic,
  • Science.

Wiki Markup
The LICOS script engine doesn't_et al._ connect directlywith tosome theor VSCall toof getthe itsproxies telemetry.using InsteadTCP itport connectsnumbers withdetermined upby tothe three proxy servers, whichproxyPortBase parameter in turn expose TCP ports for the script enginethe \[vsc\] section of the VSC configuration file. A different set of ports is supposed to be used by each person so that several people can be running LICOS sessions on the same Linux machine at the same time. The set of ports is derived from the proxyPortBase parameter in the \[vsc\] section of the VSC configuration file same time. You can get a standard VSC config file on lat-hobbit5 from $ONLINE_ROOT/LICOS_ETC/config/vsc_tb.cfg. 

IMPORTANT: Your personal value of proxyPortBase must be assigned by an Authority.

Wiki Markup
The proxies also dump the telemetry they receive into files. Their locations can be controlled with parameters in the \[paths\] section of the VSC config file.

...

Wiki Markup
In the \[logging\] section you will normally run with logging disabled (lognbl = 0). If you set it to one then the logging files will be written to the logs directory.
*_

IMPORTANT:_* _At present it seems that only one instance of the script engine at a time can run on the host machine with logging enabled, so do it only when you must, e.g., for test script V&V._

One last pair of config files: scriptOpts.cfg and your application config file. The scriptOpts file consists of sections that look like this:

...

At last you can launch the ScriptEngine:
lat-hobbit5:

No Format
python ${ONLINE_ROOT}/LICOS/start/startScriptEngine.py \
    --config      scriptEngine.cfg \
    --vscConfig   vsc.cfg \
    --scriptOpts  scriptOpts.cfg \
    --server      lat-elf1