A Python tkinter GUI for the SSS2 that sends and recieves serial commands to the SSS2 over USB.
if using the latest version we need to have a way to access kernel drivers to read RAW HID. In order to do that we need to install libusb drivers. Please refer to the Procedure
The SSS2 Interface App must be run in Python 3.4. The file SSS2-Interface.py should be opened with Python 3.4 to run. If you are developing files for the different cables, please be sure to set the Universal Flag to True (UNIVERSAL = True).
Be sure to commit and Sync all new files to Githup after each development.
- Install Python 3.4
https://www.python.org/downloads/release/python-343/- Open a command prompt by typing
cmdin the Windows start menu. - Upgrade pip:
py -3.4 -m pip install --upgrade pip - Install PySerial:
py -3.4 -m pip install pyserial - Install cxFreeze:
py -3.4 -m pip install cx_freeze
- Open a command prompt by typing
- Install the Teensy USB drivers from https://www.pjrc.com/teensy/serial_install.exe
- Download Github Desktop from https://desktop.github.com/
- Clone this repository in Github Desktop to work on it.
- Be sure all updated SSS2 files are in the SSS2-GUI directory. This is the default setting when the UNIVERSAL is True.
- Save all the files are with the latest verison and hash values.
- Change directories to
~/Documents/GitHub/SSS2-GUI/or wherever the repository is installed. - Change the Universal Flag to False (
UNIVERSAL = False) for a production release. - Package the Python sources into an executable using
py -3.4 -m createFreeze.py build - Be sure all graphics files are copied into the newly created dist and build directories. This is only needed if new graphics were installed or this is the first build on your computer.
- Use Inno windows installer to create a single executable file. http://www.jrsoftware.org/isdl.php#qsp
- Open the
windows installer for cx_freeze for SSS2.issfile. - Change the version number.
- Compile it.
- Find the executable in Documents/SSS2
- Rename the executable with the version number.
- Send the executable to a zip file.
- Drag all the .SSS2 files from SSS2-GUI into SSS2settings.zip and replace all files inside.
- Upload the exe file, and both zip files to the web.
- Use WinSCP or equivalent to log into mallory.synercontechnologies.com
- Navigate to
/var/www/synercontechnologies.com/filesand drop the files there. - Open Wordpress https://synercontechnologies.com/wp-admin
- edit the Smart Sensor Simulator 2 page and update the links to the latest version.
- Open the
- Log into the website and update the release information with the latest version.
- Write up a list of product improvements since the last release.
- Explain what new SSS2 files are available.
- Run the file against https://www.virustotal.com
- Print the result to a PDF and upload it to the SSS2 Interface Release Notes page in Wordpress.
- Add a version number in Github.
- Set the Universal Flag to True (
UNIVERSAL = True) to continue work. - Commit and Sync to Github