Metadata-Version: 1.1
Name: practichem-biodetector
Version: 1.0
Summary: Biodetector control class
Home-page: https://www.practichem.com
Author: Practichem
Author-email: opensource@practichem.com
License: Apache License, Version 2.0
Description: Example of direct instantiation. Faster if you know the port.

        =============================================================

        

        ::

        

            from practichem_biodetector import Biodetector

            from practichem_device import SerialHandler

        

            serial_handler = SerialHandler()

            serial_handler.openPort("COM32")

            serial_handler.start()

            biodetector = Biodetector(serial_handler)

        

            print(biodetector.getPrimaryAbsorbance())

        

        Example using the DeviceManager which is in the practichem\_device package

        ==========================================================================

        

        ::

        

            from practichem_device import DeviceManager

            import practichem_biodetector # required to register the product name

        

            device_manager = DeviceManager()

            biodetector = device_manager.getDeviceByProductName("BioDetector")

        

            print(biodetector.getPrimaryAbsorbance())

        

        Example of using the BiodetectorEmulator

        ========================================

        

        ::

        

            from practichem_biodetector import BiodetectorEmulator

            biodetector = BiodetectorEmulator()

            print(biodetector.getPrimaryAbsorbance())

        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
