Skip to main content

Welcome to nxsrecconfig’s documentation!

Authors: Jan Kotanski Introduction

Tango server with Sardana Recorder settings

Tango Server API: https://nexdatas.github.io/nxsrecselector/stable/doc_html

Installation

Install the dependencies:

sardana, tango, sphinx

From sources

Download the latest version of NeXuS Configuration Server from

Extract the sources and run

$ python3 setup.py install

Debian packages

Debian trixie, bookworm, bullseye or ubuntu resolute, noble, jammy packages can be found in the HDRI repository.

To install the debian packages, add the PGP repository key

$ sudo su
$ curl -s https://repos.desy.de/pni-hdri/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

$ cd /etc/apt/sources.list.d
$ wget https://repos.desy.de/pni-hdri/trixie-pni-hdri.sources

Finally, install module

$ apt-get update
$ apt-get install python3-nxsrecselector

and the NXSRecSelector tango server

$ apt-get update
$ apt-get install nxsrecselector

To instal other NexDaTaS packages

$ apt-get install python3-nxswriter nxsconfigtool nxstools python3-nxsconfigserver nxsconfigserver-db

and

$ apt-get install nxselector python3-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 nxsrecselector

Moreover it is also good to install

$ pip install pytango
$ pip install taurus
$ pip install sardana
$ pip install nxswriter
$ pip install nxsconfigserver
$ pip install nxstools
$ pip install pymysqldb

Setting environment

Setting Saradna

If sardana is not yet set up run

$ Pool
  • enter a new instance name

  • create the new instance

Then wait a while until Pool is started and in a new terminal run

$ MacroServer
  • enter a new instance name

  • create the new instance

  • connect pool

Next, run Astor and change start-up levels: for Pool to 2, for MacroServer to 3 and restart servers.

Alternatively, terminate Pool and MacroServer in the terminals and run

$ nxsetup -s Pool -l2

wait until Pool is started and run

$ nxsetup -s MacroServer -l3

Additionally, one can create dummy devices by running sar_demo in

$ spock

Setting NeXus Servers

To set up NeXus Servers run

$ nxsetup -x

or

$ nxsetup -x NXSDataWriter
$ nxsetup -x NXSConfigServer
$ nxsetup -x NXSRecSelector

for specific servers.

If the RecoderPath property of MacroServer is not set one can do it by

$ nxsetup -a /usr/lib/python3/dist-packages/sardananxsrecorder

where the path should point the sardananxsrecorder package.

Metadata

Release files for nxsrecselector 4.15.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nxsrecselector 4.15.0
File Size Uploaded Provenance Actions
nxsrecselector-4.15.0.tar.gz 109.1 kB Without provenance Details for nxsrecselector-4.15.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nxsrecselector 4.15.0
File Interpreter ABI Platform Actions
nxsrecselector-4.15.0-py3-none-any.whl Python 3 none any Details for nxsrecselector-4.15.0-py3-none-any.whl

Total release size: 203.6 kB

Release files / nxsrecselector-4.15.0.tar.gz

Download URL nxsrecselector-4.15.0.tar.gz
Size 109.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4f9bb57e19e6d7fe7a10d50dcce4cebf92dad9fea851849d7683c4b939511b4c
BLAKE2b-256 checksum
How to use checksums
86dc3671a89bf74df46a4be52b9e0ea8f2d0c3734f0552f4d90a407a11a553c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / nxsrecselector-4.15.0-py3-none-any.whl

Download URL nxsrecselector-4.15.0-py3-none-any.whl
Size 94.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33c6e0f4d8383a7b20b980b4848922cdc67b99fbaf568978d4d91112bcd7d732
BLAKE2b-256 checksum
How to use checksums
0dc9c8afcc2b5043924c4963200a90e71b8ddfb8b7e189a4f73c96e1005ff6cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for nxsrecselector 4.15.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.15.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page