/qlink_tool_automator

Automation tool for ops dept for use with qlink programming toolkits

Primary LanguagePython

qlink_tool_automator

Purpose

The purpose of this tool is to make our ops dept run a bit more smoothly when programming units.

This tool simulates the following (in order):

  1. waiting for any input (to give the user a chance to plug in the device)
  2. launching the old tool
  3. entering the device pw and connecting to the device
  4. opening the raw prompt
  5. entering a programming command of choice
    • this includes the password, url, and port
  6. providing a two second window for manual verification
  7. closing the old tool
  8. launching the new tool
  9. changing the baud rate for the device and connecting to it
  10. opening the raw prompt
  11. entering a programming command of choice
    • this includes the password twice, ip address, and port
  12. providing a two second window for manual verification
  13. closing the new tool repeat

Source/Collab

I've mainly stuck this code here as a way of re-familiarizing myself with git and to act as part of my portfolio.

The tools used are proprietary, without an automation API. This process turn a two-person error-prone process into a 1 or 2 person less error-prone process. Manual verification is still required, but balancing two paste buffers is no loner needed, and very little interaction is required.

As such, I'm not looking for collaboration.

To Do

  • Initial build, very basic
  • Make sure it runs on windows (via pyinstaller)
  • Make it more modular with an external configuration
  • Find an alternative way of launching the apps without using windows shortcuts.
  • Look for a way to speed up app launches

Changelog

v 0.8 - in progress

  • finished externalconfig with json (not configparser)
  • finished pulling things into functions
  • launched apps without shortcuts keys (using subprocess.Popen)
  • in testing

v 0.5.1 - skipped release

  • adding external configuration files
  • adding parser and abstracting away some of the scriptyness into discrete functions
  • in testing - not sufficient for current release

v 0.5 - released 08/19/19

  • initial version
  • basic version, very scripty
  • gets the job done with pyinstaller