Thiruvananthapuram Hematology and Biochemistry Laboratory Integration Scripts
Python 3.5 or above. Install from: https://www.python.org
Python Package Index (PyPA) version or 9 above. Install from https://pypi.python.org/pypi/pip
Python module pyserial and Image. Install using:
pip install pyserial
pip install Image
Oracle client installed. May need to add client library location to PATH.
Python module cx_Oracle. Install using:
Installation of ClientSide GUI scripts for Windows
Log into lab host computer to which the machines are connected.
Download the project as a .zip file from GitHub. Unzip the file and navigate to the ClientSide directory.
Edit and save the following lines in the MythicClientGUI.pyw script:
port = 'COMx'
baud = 9600
remoteFilePath = "<path of network drive>"
localFilePath = "<a local path on host computer>"
Right click and add a shortcut to the script on the Desktop.
Press Windows+R to open run prompt and enter shell:startup. This will open the startup folder.
Copy the shortcut created on the Desktop to the startup folder above.
Execution of ClientSide GUI for Windows
Double click the Desktop shortcut to run the script.
If connection is not successful then check machine port and change it. Try connecting using the "Connect to Mythic" button.
Server Side Installation Steps for Windows
Log into lab server computer running Oracle.
Download the python scripts from the ServerSide directory.
Edit and save the following lines in each script:
connectString = u'test/[email protected] :1521/XE'
remoteFilePath = "Z:\\M18\\"
successFilePath = "F:\\lab_results\\M18_Success"
failureFilePath = "F:\\lab_results\\M18_Failed"
Press Windows+R to open run prompt and enter shell:startup. This will open the startup folder.
Copy the saved scripts in this location.
Create links to the scripts on the desktop.
Double click and run scripts.