Regbot GUI: Difference between revisions

From Rsewiki
No edit summary
No edit summary
Line 18: Line 18:
This should start python and write the version number. Version must be 3.X.X.
This should start python and write the version number. Version must be 3.X.X.


If not installed, then install from Microsoft store, you will probably be directed directly, if not installed,
If not installed, then install from Microsoft store, you will probably be directed directly, if not installed.


=== Install packages ===
=== Install packages ===
Line 30: Line 30:
If everything goes well, then you are ready to run the GUI from the Python script.
If everything goes well, then you are ready to run the GUI from the Python script.


== Get python script ==
===Install SVN===
 
The newest version is on our SVN repository.


===Install SVN=== 
The source is on a SVN repository, if not available, then install:


Install TortoiseSVN from https://subversion.apache.org  
Install TortoiseSVN from https://subversion.apache.org  
Line 43: Line 41:
* restart a 'cmd' terminal after installation
* restart a 'cmd' terminal after installation


=== Get python script ===
=== Get REGBOTGUI python script ===
 
At the windows command terminal, do a checkout.
Change to the Downloads folder (makes it easier to find (under Overførsler på dansk))
 
> cd Downloads
> svn checkout svn://repos.gbar.dtu.dk/jcan/regbot/regbotgui
 
Find the directory in your file browser (Stifinder)
 
Start the file 'regbot.py' - may be create shortcut on the desktop.

Revision as of 14:38, 11 January 2021

Back to Regbot

NB! this page is for installing python3 version of the Regbot GUI.

not finished 11 jan 2021

install python

Start the command window by searching for 'cmd' after pressing Start.

In the command window type

python
Python 3.6.9 (default, Oct  8 2020, 12:12:24) 
on win32
Type "help", "copyright", "credits" or "license" for more information. 
>>> quit()

This should start python and write the version number. Version must be 3.X.X.

If not installed, then install from Microsoft store, you will probably be directed directly, if not installed.

Install packages

At the CMD prompt install

> pip install pyqt5
> pip install pyqtgraph
> pip install pyserial

If everything goes well, then you are ready to run the GUI from the Python script.

Install SVN

The source is on a SVN repository, if not available, then install:

Install TortoiseSVN from https://subversion.apache.org On left menu find "Binary packages" and from here the 'Windows' section

  • Download TortoiseSVN
  • Install, and remember to add 'command line' support.
  • restart a 'cmd' terminal after installation

Get REGBOTGUI python script

At the windows command terminal, do a checkout. Change to the Downloads folder (makes it easier to find (under Overførsler på dansk))

> cd Downloads
> svn checkout svn://repos.gbar.dtu.dk/jcan/regbot/regbotgui

Find the directory in your file browser (Stifinder)

Start the file 'regbot.py' - may be create shortcut on the desktop.