Skip to content

BlissAxis Device Server

Launching the device server

Let’s make it easy and see how to launch the device server:

(base) user@beamline:~/bliss$ conda activate bliss
(bliss) user@beamline:~/bliss$ export TANGO_HOST=localhost:20000
(bliss) user@beamline:~/bliss$ BlissAxis -?
usage :  BlissAxis instance_name [-v[trace level]] [-nodb [-dlist <device name list>]]
Instance name defined in database for server Wago :
        blissaxis_server
(bliss) user@beamline:~/bliss$ BlissAxis blissaxis_server
Ready to accept request

Configuration

With Beacon

The configuration of this device server is written inside Beacon as an yaml file, here we have the example:

device:
- tango_name: id00/blissaxis/1
  class: BlissAxis
  properties:
    beacon_name: myblissaxis
personal_name: blissaxis_test
server: BlissAxis
  • tango_name: is the Tango Device in the form domain/family/member
  • personal_name: this will be the name you will use in the command line to launch the Device Server using BlissAxis personal_name
  • beacon_name: should coresponds to another Beacon object defined in yml that will define BlissAxis mapping and host. Refer to the documentation for creating the BlissAxis bliss configuration BlissAxis