nxsrecselector


Namenxsrecselector JSON
Version 3.39.0 PyPI version JSON
download
home_pagehttps://github.com/jkotan/nexdatas/
SummarySelector Server for NeXus Sardana recorder
upload_time2024-01-25 13:50:31
maintainer
docs_urlNone
authorJan Kotanski
requires_python
licenseGNU GENERAL PUBLIC LICENSE v3
keywords sardana writer configuration settings tango server nexus data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ========================================
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": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "sardana writer configuration settings Tango server nexus data",
    "author": "Jan Kotanski",
    "author_email": "jankotan@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/76/cb/64183d443e96b07ff115d730e910c3371116d3243733037687f10b7cabf7/nxsrecselector-3.39.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  $ 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\n\n",
    "bugtrack_url": null,
    "license": "GNU GENERAL PUBLIC LICENSE v3",
    "summary": "Selector Server for NeXus Sardana recorder",
    "version": "3.39.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": "b956f02eddc178a57cab2414fd4b64ad22dec76a630e4f24cef1a0d4fd814486",
                "md5": "b43542fcdb24adce9ecfabe0820465bc",
                "sha256": "38b8e725600e486689552aa4140c51bd0b201f7b37e73c97bb85740ede03fe8e"
            },
            "downloads": -1,
            "filename": "nxsrecselector-3.39.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b43542fcdb24adce9ecfabe0820465bc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 67622,
            "upload_time": "2024-01-25T13:50:29",
            "upload_time_iso_8601": "2024-01-25T13:50:29.472015Z",
            "url": "https://files.pythonhosted.org/packages/b9/56/f02eddc178a57cab2414fd4b64ad22dec76a630e4f24cef1a0d4fd814486/nxsrecselector-3.39.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "76cb64183d443e96b07ff115d730e910c3371116d3243733037687f10b7cabf7",
                "md5": "d546b7cccfe85ff1e73f8d96a55bc12e",
                "sha256": "4e4049e1ecc5ebbcef511770b8baf19d414fdfc9e2708be53b62800cdb690f2f"
            },
            "downloads": -1,
            "filename": "nxsrecselector-3.39.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d546b7cccfe85ff1e73f8d96a55bc12e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 87556,
            "upload_time": "2024-01-25T13:50:31",
            "upload_time_iso_8601": "2024-01-25T13:50:31.831622Z",
            "url": "https://files.pythonhosted.org/packages/76/cb/64183d443e96b07ff115d730e910c3371116d3243733037687f10b7cabf7/nxsrecselector-3.39.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-25 13:50:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jkotan",
    "github_project": "nexdatas",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nxsrecselector"
}
        
Elapsed time: 0.21358s