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/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 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

$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/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/python2.7/dist-packages/sardananxsrecorder

where the path should point the sardananxsrecorder package.

Metadata

Release files for nxsrecselector 4.13.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.13.1
File Size Uploaded Provenance Actions
nxsrecselector-4.13.1.tar.gz 91.0 kB Without provenance Details for nxsrecselector-4.13.1.tar.gz

Built distribution (wheel)

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

Total release size: 161.3 kB

Release files / nxsrecselector-4.13.1.tar.gz

Download URL nxsrecselector-4.13.1.tar.gz
Size 91.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c424191f7857d828e3af4bc89c966b7fbda06ecad77f52583ce2a57b61c3cc67
BLAKE2b-256 checksum
How to use checksums
ed0f73a09a2bd38931ae9b84594a2de33c7af094f3dd9c1fe55d8733602f76a1
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.13.1-py3-none-any.whl

Download URL nxsrecselector-4.13.1-py3-none-any.whl
Size 70.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0971162440c91db0fff102b8c8554f497c97c243d343acd0cca2af6709e950c7
BLAKE2b-256 checksum
How to use checksums
a6aa826c78cefa886f2f305bef4df74da82a598f70f304e16ac61d58502cc83a
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.13.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.13.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