Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • tokens-in-env-files
  • fix-build
  • L2SS-2214-deploy-cdb
  • fix-missing-init
  • add-power-hardware-apply
  • L2SS-2129-Add-Subrack-Routine
  • Also-listen-internal-to-rpc
  • fix-build-dind
  • L2SS-2153--Improve-Error-Handling
  • L2SS-2153-Add-Grpc-Gateway-support
  • L2SS-1970-apsct-lol
  • DNM-pytango10.0.1rc1-test
  • fixes-for-black-25.0
  • v0.39.7-backports
  • westerbork-test-setup
  • L2SS-1970
  • merge-event-loops
  • add-old-statistics-attributes
  • L2SS-1957-add-support-for-new-pcon
  • v0.51.6 protected
  • v0.51.5-1 protected
  • v0.51.5 protected
  • v0.51.4-2 protected
  • v0.51.4-3 protected
  • v0.51.4-1 protected
  • v0.51.4 protected
  • v0.51.2 protected
  • v0.51.1 protected
  • v0.50.1-2 protected
  • trigger-test-v7
  • v0.50.1-1 protected
  • trigger-test-v6
  • trigger-test-v5
  • trigger-test-v4
  • trigger-test-v3
  • trigger-test-v2
  • trigger-test-v1
  • v0.50.1 protected
  • v0.49.0 protected
40 results

devices

  • Clone with SSH
  • Clone with HTTPS
  • thijs snijder's avatar
    Taya Snijder authored
    Merge branch 'master' of https://git.astron.nl/lofar2.0/tango into L2SS-399_12-10-2021_add_statistics_writer_reconnect
    b1330998
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    Tango Station Control Device wrappers

    This code provides an attribute_wrapper class in place of attributes for tango devices. the attribute wrappers contain additional code that moves a lot of the complexity and redundant code to the background.

    The tango Device class is also abstracted further to a "hardware_device" class. This class wraps

    The only things required on the users part are to declare the attributes using the attribute_wrapper (see example/example_device), declare what client the attribute has to use in the initialisation and provide support for the used clients. To see how to add support for new clients, see clients/README.md

    In addition it also provides an abstraction to the tango device, specifically for hardware devices. Examples of hardware devices can be found in TODO and an empty template can be found in HW_device_template.py

    Requires numpy pip install numpy

    Requires opcua pip install opcua

    Requires pytango pip install pytango

    usage

    You can start the device by calling it in any console with: <Device_name>.py instance_name