Welcome to NeXuS BlissData Writer’s documentation!¶
Authors: Jan Kotanski
NeXuS BlissData Writer Server is a Tango Server which allows to write NeXus file from (meta)data stored in BlissData by NXSDataWriter tango server
Tango Server API: https://nexdatas.github.io/nxsblisswriter/doc_html
Installation¶
Install the dependencies:
From sources¶
Download the latest version of NeXuS Configuration Server from
Extract the sources and run
$ python setup.py install
Debian packages¶
Debian Trixie, Bookworm, Bullseye and as well as Ubuntu Questing, Noble, Jammy packages can be found in the HDRI repository.
To install the debian packages, add the PGP repository key
$ sudo su
$ curl -s http://repos.pni-hdri.de/debian_repo.pub.gpg | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/debian-hdri-repo.gpg --import
$ chmod 644 /etc/apt/trusted.gpg.d/debian-hdri-repo.gpg
and then download the corresponding source list, e.g. for trixie
$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/trixie-pni-hdri.sources
Finally,
$ apt-get update
$ apt-get install python3-nxsblisswriter
and the NXSBlissWriter tango server (from 2.10.0)
$ apt-get install nxsblisswriter
From pip¶
To install it from pip you need pymysqldb e.g.
$ python3 -m venv myvenv
$ . myvenv/bin/activate
$ pip install nxsblisswriter
Moreover it is also good to install
$ pip install pytango
$ pip install nxstools
Setting NeXus BlissData Writer Server¶
To set up NeXus Blissdata WriterServer with the default configuration run
$ nxsetup -x NXSBlissWriter
The nxsetup command comes from the python-nxstools package.
Contents¶
- nxsblisswriter package
- Submodules
- nxsblisswriter.NXSFile module
- nxsblisswriter.Release module
- nxsblisswriter.NXSBlissWriter module
NXSBlissWriterNXSBlissWriter.DefaultNeXusPathNXSBlissWriter.NextScanTimeoutNXSBlissWriter.PointSleepTimeNXSBlissWriter.RedisUrlNXSBlissWriter.SessionNXSBlissWriter.Start()NXSBlissWriter.Stop()NXSBlissWriter.TangoClassClassNXSBlissWriter.TangoClassNameNXSBlissWriter.delete_device()NXSBlissWriter.dev_status()NXSBlissWriter.init_device()
- nxsblisswriter.NXSWriterService module
- Module contents