========================================
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
$ python setup.py install
Debian packages
^^^^^^^^^^^^^^^
Debian bookworm, bullseye and buster or ubuntu lunar, jammy nad focal 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/bookworm-pni-hdri.list
Finally, install module
.. code-block:: console
$ apt-get update
$ apt-get install python-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 python-nxswriter nxsconfigtool nxstools python-nxsconfigserver nxsconfigserver-db
and
.. code-block:: console
$ apt-get install nxselector python-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/4f/0e/4c652efb768d6e22b854cca879581b993c30005925bfc3118355bcd2c2fe/nxsrecselector-3.40.1.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 $ python setup.py install\n\nDebian packages\n^^^^^^^^^^^^^^^\n\nDebian bookworm, bullseye and buster or ubuntu lunar, jammy nad focal 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/bookworm-pni-hdri.list\n\nFinally, install module\n\n.. code-block:: console\n\n\t $ apt-get update\n\t $ apt-get install python-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 python-nxswriter nxsconfigtool nxstools python-nxsconfigserver nxsconfigserver-db\n\nand\n\n.. code-block:: console\n\n\t $ apt-get install nxselector python-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": "3.40.1",
"project_urls": {
"Homepage": "https://github.com/jkotan/nexdatas/"
},
"split_keywords": [
"sardana",
"writer",
"configuration",
"settings",
"tango",
"server",
"nexus",
"data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "084e65974edb5b9576fca872ad1bffe17a54a115578d6e0fcd5f252b4d9f0f07",
"md5": "8bc6e4f699d8f20f1a443e81c306878e",
"sha256": "c5a042caf076a40cd6c49d8466d524b462685e505b3db09f3eb58565c157bade"
},
"downloads": -1,
"filename": "nxsrecselector-3.40.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8bc6e4f699d8f20f1a443e81c306878e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 67621,
"upload_time": "2024-07-19T09:35:37",
"upload_time_iso_8601": "2024-07-19T09:35:37.134970Z",
"url": "https://files.pythonhosted.org/packages/08/4e/65974edb5b9576fca872ad1bffe17a54a115578d6e0fcd5f252b4d9f0f07/nxsrecselector-3.40.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4f0e4c652efb768d6e22b854cca879581b993c30005925bfc3118355bcd2c2fe",
"md5": "9c6c1b4b5b0fa6d517636c8072a7d7d3",
"sha256": "c5ccee115c03d1e19feddbb0c2711b05f3daac79508ed4ee776a5e4b49aaad66"
},
"downloads": -1,
"filename": "nxsrecselector-3.40.1.tar.gz",
"has_sig": false,
"md5_digest": "9c6c1b4b5b0fa6d517636c8072a7d7d3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 87325,
"upload_time": "2024-07-19T09:35:39",
"upload_time_iso_8601": "2024-07-19T09:35:39.003113Z",
"url": "https://files.pythonhosted.org/packages/4f/0e/4c652efb768d6e22b854cca879581b993c30005925bfc3118355bcd2c2fe/nxsrecselector-3.40.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-19 09:35:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jkotan",
"github_project": "nexdatas",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nxsrecselector"
}