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.16.1

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.16.1
File Size Uploaded Provenance Actions
nxsrecselector-4.16.1.tar.gz 125.4 kB Without provenance Details for nxsrecselector-4.16.1.tar.gz

Built distribution (wheel)

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

Total release size: 239.7 kB

Release files / nxsrecselector-4.16.1.tar.gz

Download URL nxsrecselector-4.16.1.tar.gz
Size 125.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d24fdb75e85210e0aa18af625152d3e6076df0edef8ed2aec7b0a63b559a6d1b
BLAKE2b-256 checksum
How to use checksums
1ae364db1ebecf72bac9dd8cc9419d64ba52f815113d3b3d77fdc1440097f90e
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.16.1-py3-none-any.whl

Download URL nxsrecselector-4.16.1-py3-none-any.whl
Size 114.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e61dd48fc8789a3bc22ffa0d5f2d540703ffec59d2d07908552b73100c1656b
BLAKE2b-256 checksum
How to use checksums
a6d9cb446807b23345968ed7a4ca9fd9d0f47615e00fa270a07ad15e6be3e64e
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.16.1

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.16.1 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