Skip to main content

Configuration tools for NeXDaTaS Tango Servers

Project description

Authors: Jan Kotanski

Introduction

Configuration tools for NeXDaTaS Tango Servers consists of the following command-line scripts:

  • nxscollect uploads external images into the NeXus/HDF5 file
  • nxsconfig reads NeXus Configuration Server settings
  • nxscreate creates NeXus Configuration components
  • nxsdata runs NeXus Data Writer
  • nxsfileinfo shows nedadata of the NeXus/HDF5 file
  • nxsetup setups NeXDaTaS Tango Server environment

as well as the nxstools package which allows perform these operations directly from a python code.

Installation

Install the dependencies:

PyTango, sphinx

From sources

Download the latest NXS Tools version from

Extract sources and run

$ python setup.py install

Debian packages

Debian stretch, jessie (and wheezy) or Ubuntu bionic (and xenial) packages can be found in the HDRI repository.

To install the debian packages, add the PGP repository key

$ sudo su
$ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -

and then download the corresponding source list

$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/stretch-pni-hdri.list

For releases (>= 2.61.0) to insall python2 scripts

$ apt-get update
$ apt-get install nxstools

and for python3 scripts

$ apt-get update
$ apt-get install nxstools3

For older releases

$ apt-get update
$ apt-get install python-nxstools

and

$ apt-get install python3-nxstools

if exists.

To instal other NexDaTaS packages

$ apt-get install python-nxswriter nxsconfigserver-db python-nxsconfigserver nxsconfigtool

and

$ apt-get install python-nxsrecselector nxselector python-sardana-nxsrecorder

for Component Selector and Sardana related packages.

From pip

To install it from pip you can

$ python3 -m venv myvenv
$ . myvenv/bin/activate

$ pip install nxstools

Moreover it is also good to install

$ pip install pytango

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nxstools, version 3.1.1
Filename, size File type Python version Upload date Hashes
Filename, size nxstools-3.1.1-py3-none-any.whl (155.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nxstools-3.1.1.tar.gz (156.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page