Skip to main content

Welcome to nxstaurusgui’s documentation!

Authors: Jan Kotanski

NXS MacroGUI is taurus gui Configuration for Component Selector

NeXus Taurus GUI

Installation

Install the dependencies:

Sardana, PyTango, sphinx, Taurus, NXSRecSelector, Selector

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 and 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,

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

To instal other NexDaTaS packages

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

and

$ apt-get install python3-sardana-nxsrecorder

for NeXus recorder.

From pip

To install it from pip you need also to install pyqt5, e.g.

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

$ pip install pyqt5

$ pip install sardana-nxsrecorder

Moreover it is also good to install

$ pip install pytango
$ pip install sardana
$ pip install nxswriter
$ pip install nxsrecselector
$ 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 start Pool -l2

wait until Pool is started and run

$ nxsetup start MacroServer -l3

Additionally, one can create dummy devices by running sar_demo in

$ spock

Setting NeXus Servers

To set up NeXus Servers run

$ nxsetup set

or

$ nxsetup set NXSDataWriter
$ nxsetup set NXSConfigServer
$ nxsetup set NXSRecSelector

for specific servers.

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

$ nxsetup add-recorder-path  /usr/lib/python3/dist-packages/sardananxsrecorder

where the path should point the sardananxsrecorder package.

Metadata

Release files for nxstaurusgui 1.4.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 nxstaurusgui 1.4.0
File Size Uploaded Provenance Actions
nxstaurusgui-1.4.0.tar.gz 97.4 kB Without provenance Details for nxstaurusgui-1.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 180.2 kB

Release files / nxstaurusgui-1.4.0.tar.gz

Download URL nxstaurusgui-1.4.0.tar.gz
Size 97.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b22e4ca8a043cefb1c275cad5ec011017bc0d3480f34d009795f15e208779b8b
BLAKE2b-256 checksum
How to use checksums
ef7f5c3c4bce061721f876834c43f58a6f4daa13a5666aa07ddfeafeea1bc5c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / nxstaurusgui-1.4.0-py3-none-any.whl

Download URL nxstaurusgui-1.4.0-py3-none-any.whl
Size 82.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af43d3fc9f3534f432a1d9633c7d793693b0654bbbb2021a12761bb37b134906
BLAKE2b-256 checksum
How to use checksums
a40f3f69ca3eec1f2cd434ed163f23006194335d5a8644c360962df44fb30d4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for nxstaurusgui 1.4.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.

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