Using the plotODs.py python script

***
The script can only be used after updating the bioreactor to version >BR3.6.0.
Instructions on how to do so will have been included in this folder.
***

1. You should have received a python script named plotODs.py. To use it,
   you'll need to install python 3 and the following libraries:
    1) pyserial
    2) pandas
    3) matplotlib

2. To monitor ODs during an experiment, please turn on the bioreactor and
   connect your PC to the "BOARD PROG." port on the rear of the BioReactor via a
   USB-A to microUSB cable *before* starting the experiment. Running the python
   script will restart the bioreactor, stopping current operation.

3. Run the python script from Powershell:
    1) Navigate to the directory with the python script like so

        cd path\to\folder

    2) Enter the command:

        python plotODs.py

       The script will establish a connection and the bioreactor will restart.

4. Start your experiment.

   The script will monitor for new measurements and update the plot. The
   figure should be interactive - you can zoom, pan etc. If you close the
   figure, it'll reopen on the next OD measurement. If you disconnect your
   computer the figure will disappear but your experiment will continue
   running. Please don't reconnect your computer or else your experiment will
   be stopped by the bioreactor restarting.


You're welcome to edit the script in any way you see fit. Contact
help@ogibiotec.com if you have questions or feedback.

