========================================
Welcome to nxsrecconfig's documentation!
========================================
|github workflow|
|docs|
|Pypi Version|
|Python Versions|
.. |github workflow| image:: https://github.com/nexdatas/nxsrecselector/actions/workflows/tests.yml/badge.svg
:target: https://github.com/nexdatas/nxsrecselector/actions
:alt:
.. |docs| image:: https://img.shields.io/badge/Documentation-webpages-ADD8E6.svg
:target: https://nexdatas.github.io/nxsrecselector/index.html
:alt:
.. |Pypi Version| image:: https://img.shields.io/pypi/v/nxsrecselector.svg
:target: https://pypi.python.org/pypi/nxsrecselector
:alt:
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/nxsrecselector.svg
:target: https://pypi.python.org/pypi/nxsrecselector/
:alt:
Authors: Jan Kotanski
Introduction
Tango server with Sardana Recorder settings
Tango Server API: https://nexdatas.github.io/nxsrecselector/doc_html
| Source code: https://github.com/nexdatas/nxsrecselector
| Web page: https://nexdatas.github.io/nxsrecselector
| NexDaTaS Web page: https://nexdatas.github.io
------------
Installation
------------
Install the dependencies:
| sardana, tango, sphinx
From sources
^^^^^^^^^^^^
Download the latest version of NeXuS Configuration Server from
| https://github.com/nexdatas/nxsrecselector
Extract the sources and run
.. code-block:: console
$ python3 setup.py install
Debian packages
^^^^^^^^^^^^^^^
Debian trixie, bookworm, bullseye or ubuntu plucky, noble, jammy packages can be found in the HDRI repository.
To install the debian packages, add the PGP repository key
.. code-block:: console
$ sudo su
$ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -
and then download the corresponding source list
.. code-block:: console
$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/trixie-pni-hdri.list
Finally, install module
.. code-block:: console
$ apt-get update
$ apt-get install python3-nxsrecselector
and the NXSRecSelector tango server
.. code-block:: console
$ apt-get update
$ apt-get install nxsrecselector
To instal other NexDaTaS packages
.. code-block:: console
$ apt-get install python3-nxswriter nxsconfigtool nxstools python3-nxsconfigserver nxsconfigserver-db
and
.. code-block:: console
$ apt-get install nxselector python3-sardana-nxsrecorder
for Component Selector and Sardana related packages.
From pip
^^^^^^^^
To install it from pip you can
.. code-block:: console
$ python3 -m venv myvenv
$ . myvenv/bin/activate
$ pip install nxsrecselector
Moreover it is also good to install
.. code-block:: console
$ 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
.. code-block:: console
$ Pool
- enter a new instance name
- create the new instance
Then wait a while until Pool is started and in a new terminal run
.. code-block:: console
$ 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
.. code-block:: console
$ nxsetup -s Pool -l2
wait until Pool is started and run
.. code-block:: console
$ nxsetup -s MacroServer -l3
Additionally, one can create dummy devices by running `sar_demo` in
.. code-block:: console
$ spock
Setting NeXus Servers
^^^^^^^^^^^^^^^^^^^^^
To set up NeXus Servers run
.. code-block:: console
$ nxsetup -x
or
.. code-block:: console
$ 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
.. code-block:: console
$ nxsetup -a /usr/lib/python2.7/dist-packages/sardananxsrecorder
where the path should point the `sardananxsrecorder` package.
Raw data
{
"_id": null,
"home_page": "https://github.com/jkotan/nexdatas/",
"name": "nxsrecselector",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "sardana writer configuration settings Tango server nexus data",
"author": "Jan Kotanski",
"author_email": "jankotan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/37/3e/2f0e2ea4fdafd2a2d365e73c3dcf4a0576253a433557cf5af3f4d325b1cf/nxsrecselector-4.1.0.tar.gz",
"platform": null,
"description": "========================================\nWelcome to nxsrecconfig's documentation!\n========================================\n\n|github workflow|\n|docs|\n|Pypi Version|\n|Python Versions|\n\n.. |github workflow| image:: https://github.com/nexdatas/nxsrecselector/actions/workflows/tests.yml/badge.svg\n :target: https://github.com/nexdatas/nxsrecselector/actions\n :alt:\n\n.. |docs| image:: https://img.shields.io/badge/Documentation-webpages-ADD8E6.svg\n :target: https://nexdatas.github.io/nxsrecselector/index.html\n :alt:\n\n.. |Pypi Version| image:: https://img.shields.io/pypi/v/nxsrecselector.svg\n :target: https://pypi.python.org/pypi/nxsrecselector\n :alt:\n\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/nxsrecselector.svg\n :target: https://pypi.python.org/pypi/nxsrecselector/\n :alt:\n\nAuthors: Jan Kotanski\nIntroduction\n\nTango server with Sardana Recorder settings\n\nTango Server API: https://nexdatas.github.io/nxsrecselector/doc_html\n\n| Source code: https://github.com/nexdatas/nxsrecselector\n| Web page: https://nexdatas.github.io/nxsrecselector\n| NexDaTaS Web page: https://nexdatas.github.io\n\n------------\nInstallation\n------------\n\nInstall the dependencies:\n\n| sardana, tango, sphinx\n\nFrom sources\n^^^^^^^^^^^^\n\nDownload the latest version of NeXuS Configuration Server from\n\n| https://github.com/nexdatas/nxsrecselector\n\nExtract the sources and run\n\n.. code-block:: console\n\n\t $ python3 setup.py install\n\nDebian packages\n^^^^^^^^^^^^^^^\n\nDebian trixie, bookworm, bullseye or ubuntu plucky, noble, jammy packages can be found in the HDRI repository.\n\nTo install the debian packages, add the PGP repository key\n\n.. code-block:: console\n\n\t $ sudo su\n\t $ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -\n\nand then download the corresponding source list\n\n.. code-block:: console\n\n\t $ cd /etc/apt/sources.list.d\n\t $ wget http://repos.pni-hdri.de/trixie-pni-hdri.list\n\nFinally, install module\n\n.. code-block:: console\n\n\t $ apt-get update\n\t $ apt-get install python3-nxsrecselector\n\nand the NXSRecSelector tango server\n\n.. code-block:: console\n\n\t $ apt-get update\n\t $ apt-get install nxsrecselector\n\nTo instal other NexDaTaS packages\n\n.. code-block:: console\n\n\t $ apt-get install python3-nxswriter nxsconfigtool nxstools python3-nxsconfigserver nxsconfigserver-db\n\nand\n\n.. code-block:: console\n\n\t $ apt-get install nxselector python3-sardana-nxsrecorder\n\nfor Component Selector and Sardana related packages.\n\nFrom pip\n^^^^^^^^\n\nTo install it from pip you can\n\n.. code-block:: console\n\n $ python3 -m venv myvenv\n $ . myvenv/bin/activate\n\n $ pip install nxsrecselector\n\nMoreover it is also good to install\n\n.. code-block:: console\n\n $ pip install pytango\n $ pip install taurus\n $ pip install sardana\n $ pip install nxswriter\n $ pip install nxsconfigserver\n $ pip install nxstools\n $ pip install pymysqldb\n\n-------------------\nSetting environment\n-------------------\n\n\nSetting Saradna\n^^^^^^^^^^^^^^^\nIf sardana is not yet set up run\n\n\n.. code-block:: console\n\n\t $ Pool\n\n- enter a new instance name\n- create the new instance\n\nThen wait a while until Pool is started and in a new terminal run\n\n.. code-block:: console\n\n\t $ MacroServer\n\n- enter a new instance name\n- create the new instance\n- connect pool\n\nNext, run Astor and change start-up levels: for Pool to 2,\nfor MacroServer to 3 and restart servers.\n\nAlternatively, terminate Pool and MacroServer in the terminals and run\n\n.. code-block:: console\n\n $ nxsetup -s Pool -l2\n\nwait until Pool is started and run\n\n.. code-block:: console\n\n $ nxsetup -s MacroServer -l3\n\n\nAdditionally, one can create dummy devices by running `sar_demo` in\n\n.. code-block:: console\n\n\t $ spock\n\n\n\nSetting NeXus Servers\n^^^^^^^^^^^^^^^^^^^^^\n\nTo set up NeXus Servers run\n\n.. code-block:: console\n\n\t $ nxsetup -x\n\nor\n\n.. code-block:: console\n\n $ nxsetup -x NXSDataWriter\n $ nxsetup -x NXSConfigServer\n\t $ nxsetup -x NXSRecSelector\n\nfor specific servers.\n\nIf the `RecoderPath` property of MacroServer is not set one can do it by\n\n.. code-block:: console\n\n\t $ nxsetup -a /usr/lib/python2.7/dist-packages/sardananxsrecorder\n\nwhere the path should point the `sardananxsrecorder` package.\n",
"bugtrack_url": null,
"license": "GNU GENERAL PUBLIC LICENSE v3",
"summary": "Selector Server for NeXus Sardana recorder",
"version": "4.1.0",
"project_urls": {
"Homepage": "https://github.com/jkotan/nexdatas/"
},
"split_keywords": [
"sardana",
"writer",
"configuration",
"settings",
"tango",
"server",
"nexus",
"data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fec9fee1ac007609d7f7c8ce4865cdfac6c85224f5a8cf4429974ed3fe2f64c9",
"md5": "31cbe30bafe76e4a2b2ad308845abaa4",
"sha256": "3e037da39f769a97c43248c1f279de7915c18c2364f8c935a6c62f0aefa19789"
},
"downloads": -1,
"filename": "nxsrecselector-4.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "31cbe30bafe76e4a2b2ad308845abaa4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 68986,
"upload_time": "2025-09-05T04:19:13",
"upload_time_iso_8601": "2025-09-05T04:19:13.885416Z",
"url": "https://files.pythonhosted.org/packages/fe/c9/fee1ac007609d7f7c8ce4865cdfac6c85224f5a8cf4429974ed3fe2f64c9/nxsrecselector-4.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "373e2f0e2ea4fdafd2a2d365e73c3dcf4a0576253a433557cf5af3f4d325b1cf",
"md5": "5271f48625edcac4fa012e940ca87d08",
"sha256": "dddad5d1adaa66bff3a0850b92f5e69535812b80c105e4fbd9cea77a82808a92"
},
"downloads": -1,
"filename": "nxsrecselector-4.1.0.tar.gz",
"has_sig": false,
"md5_digest": "5271f48625edcac4fa012e940ca87d08",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 88907,
"upload_time": "2025-09-05T04:19:15",
"upload_time_iso_8601": "2025-09-05T04:19:15.561051Z",
"url": "https://files.pythonhosted.org/packages/37/3e/2f0e2ea4fdafd2a2d365e73c3dcf4a0576253a433557cf5af3f4d325b1cf/nxsrecselector-4.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-05 04:19:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jkotan",
"github_project": "nexdatas",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nxsrecselector"
}