Welcome to nxstaurusgui's documentation!
========================================
|github workflow|
|docs|
|Pypi Version|
|Python Versions|
.. |github workflow| image:: https://github.com/nexdatas/nxsmacrogui/actions/workflows/tests.yml/badge.svg
:target: https://github.com/nexdatas/nxsmacrogui/actions
:alt:
.. |docs| image:: https://img.shields.io/badge/Documentation-webpages-ADD8E6.svg
:target: https://nexdatas.github.io/nxsmacrogui/index.html
:alt:
.. |Pypi Version| image:: https://img.shields.io/pypi/v/nxstaurusgui.svg
:target: https://pypi.python.org/pypi/nxstaurusgui
:alt:
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/nxstaurusgui.svg
:target: https://pypi.python.org/pypi/nxstaurusgui/
:alt:
Authors: Jan Kotanski
NXS MacroGUI is taurus gui Configuration for Component Selector
.. figure:: png/nxstaurusgui.png
:alt: NeXus Taurus GUI
| Source code: https://github.com/nexdatas/nxsmacrogui/
| Web page: https://nexdatas.github.io/nxsmacrogui/
| NexDaTaS Web page: https://nexdatas.github.io
------------
Installation
------------
Install the dependencies:
| Sardana, PyTango, sphinx, Taurus, NXSRecSelector, Selector
From sources
^^^^^^^^^^^^
Download the latest version of NeXuS Configuration Server from
| https://github.com/nexdatas/nxsmacrogui/
Extract the sources and run
.. code-block:: console
$ python setup.py install
Debian packages
^^^^^^^^^^^^^^^
Debian Bookworm, Bullseye, Buster and Ubuntu Lunar, Jammy, 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,
.. code-block:: console
$ apt-get update
$ apt-get install python3-nxsrecselector nxselector nxstaurusgui
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 python3-sardana-nxsrecorder
for NeXus recorder.
From pip
^^^^^^^^
To install it from pip you need also to install pyqt5, e.g.
.. code-block:: console
$ python3 -m venv myvenv
$ . myvenv/bin/activate
$ pip install pyqt5
$ pip install sardana-nxsrecorder
Moreover it is also good to install
.. code-block:: console
$ 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
.. 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 start Pool -l2
wait until Pool is started and run
.. code-block:: console
$ nxsetup start 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 set
or
.. code-block:: console
$ 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
.. code-block:: console
$ nxsetup add-recorder-path /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": "nxstaurusgui",
"maintainer": "Jan Kotanski",
"docs_url": null,
"requires_python": "",
"maintainer_email": "jankotan@gmail.com",
"keywords": "configuration scan nexus sardana recorder tango component data",
"author": "Jan Kotanski",
"author_email": "jankotan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2b/e4/94fb146e2776774b615bb32f0caac8b19edfbaa82e82f03fffe245b124d2/nxstaurusgui-1.3.0.tar.gz",
"platform": "Linux",
"description": "Welcome to nxstaurusgui's documentation!\n========================================\n\n\n|github workflow|\n|docs|\n|Pypi Version|\n|Python Versions|\n\n.. |github workflow| image:: https://github.com/nexdatas/nxsmacrogui/actions/workflows/tests.yml/badge.svg\n :target: https://github.com/nexdatas/nxsmacrogui/actions\n :alt:\n\n.. |docs| image:: https://img.shields.io/badge/Documentation-webpages-ADD8E6.svg\n :target: https://nexdatas.github.io/nxsmacrogui/index.html\n :alt:\n\n.. |Pypi Version| image:: https://img.shields.io/pypi/v/nxstaurusgui.svg\n :target: https://pypi.python.org/pypi/nxstaurusgui\n :alt:\n\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/nxstaurusgui.svg\n :target: https://pypi.python.org/pypi/nxstaurusgui/\n :alt:\n\n\n\nAuthors: Jan Kotanski\n\nNXS MacroGUI is taurus gui Configuration for Component Selector\n\n.. figure:: png/nxstaurusgui.png\n :alt: NeXus Taurus GUI\n\n\n| Source code: https://github.com/nexdatas/nxsmacrogui/\n| Web page: https://nexdatas.github.io/nxsmacrogui/\n| NexDaTaS Web page: https://nexdatas.github.io\n\n\n\n------------\nInstallation\n------------\n\nInstall the dependencies:\n\n| Sardana, PyTango, sphinx, Taurus, NXSRecSelector, Selector\n\nFrom sources\n^^^^^^^^^^^^\n\nDownload the latest version of NeXuS Configuration Server from\n\n| https://github.com/nexdatas/nxsmacrogui/\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, Buster and Ubuntu Lunar, Jammy, 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,\n\n.. code-block:: console\n\n\t $ apt-get update\n\t $ apt-get install python3-nxsrecselector nxselector nxstaurusgui\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 python3-sardana-nxsrecorder\n\nfor NeXus recorder.\n\nFrom pip\n^^^^^^^^\n\nTo install it from pip you need also to install pyqt5, e.g.\n\n.. code-block:: console\n\n $ python3 -m venv myvenv\n $ . myvenv/bin/activate\n\n $ pip install pyqt5\n\n $ pip install sardana-nxsrecorder\n\nMoreover it is also good to install\n\n.. code-block:: console\n\n $ pip install pytango\n $ pip install sardana\n $ pip install nxswriter\n $ pip install nxsrecselector\n $ pip install nxsconfigserver\n $ pip install nxstools\n $ pip install pymysqldb\n\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 start Pool -l2\n\nwait until Pool is started and run\n\n.. code-block:: console\n\n $ nxsetup start 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 set\n\nor\n\n.. code-block:: console\n\n $ nxsetup set NXSDataWriter\n $ nxsetup set NXSConfigServer\n\t $ nxsetup set 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 add-recorder-path /usr/lib/python2.7/dist-packages/sardananxsrecorder\n\nwhere the path should point the `sardananxsrecorder` package.\n\n\n\n",
"bugtrack_url": null,
"license": "GNU GENERAL PUBLIC LICENSE, version 3",
"summary": "NXSelector MacroGUI for taurusgui",
"version": "1.3.0",
"project_urls": {
"Homepage": "https://github.com/jkotan/nexdatas"
},
"split_keywords": [
"configuration",
"scan",
"nexus",
"sardana",
"recorder",
"tango",
"component",
"data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "995ef0d1e3fbe88e046217dd1779cec485c2213aab03bedd7b152b5c9f8b8078",
"md5": "469750073b7c4e945891d172ed20f22b",
"sha256": "e945c97a7db34aa4f9ccc27a4a552bcf5916ec570f412ac94c19d1e6b0f04d7d"
},
"downloads": -1,
"filename": "nxstaurusgui-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "469750073b7c4e945891d172ed20f22b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 82136,
"upload_time": "2023-08-04T05:54:53",
"upload_time_iso_8601": "2023-08-04T05:54:53.817677Z",
"url": "https://files.pythonhosted.org/packages/99/5e/f0d1e3fbe88e046217dd1779cec485c2213aab03bedd7b152b5c9f8b8078/nxstaurusgui-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2be494fb146e2776774b615bb32f0caac8b19edfbaa82e82f03fffe245b124d2",
"md5": "af098e5c47c41e70f69549da45a7e3c4",
"sha256": "6ebaa782c0df9b68b63a009306900185b4f922e5425a5a4f8249a9774b3b40d1"
},
"downloads": -1,
"filename": "nxstaurusgui-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "af098e5c47c41e70f69549da45a7e3c4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 97329,
"upload_time": "2023-08-04T05:54:55",
"upload_time_iso_8601": "2023-08-04T05:54:55.890046Z",
"url": "https://files.pythonhosted.org/packages/2b/e4/94fb146e2776774b615bb32f0caac8b19edfbaa82e82f03fffe245b124d2/nxstaurusgui-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-04 05:54:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jkotan",
"github_project": "nexdatas",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nxstaurusgui"
}