معرفی شرکت ها


NESP-Lib-1.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

New Era Syringe Pump Library for Python
ویژگی مقدار
سیستم عامل OS Independent
نام فایل NESP-Lib-1.0.0
نام NESP-Lib
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Florian Lapp
ایمیل نویسنده e5abed0c@gmail.com
آدرس صفحه اصلی https://github.com/florian-lapp/nesp-lib-py
آدرس اینترنتی https://pypi.org/project/NESP-Lib/
مجوز MIT
# NESP-Lib – New Era Syringe Pump Library for Python This project aims to offer a clean high-level interface to the New Era syringe pumps by New Era Pump Systems. These pumps are also distributed under different names, like Aladdin by World Precision Instruments (WPI) and LA by Landgraf Laborsysteme. ## Features - Object-oriented design - Documented public elements via type hints and docstrings - Signaling errors via exceptions - Blocking and non-blocking running - Sending heartbeat messages automatically ## Installing ``` pip install NESP-Lib ``` ## Importing ``` python import nesp_lib ``` ## Examples ### Configuring ``` python from nesp_lib import Port, Pump, PumpingDirection # Constructs the port to which the pump is connected. port = Port('COM1') # Constructs the pump connected to the port. pump = Pump(port) # Sets the syringe diameter of the pump in units of millimeters. pump.syringe_diameter = 30.0 # Sets the pumping direction of the pump. pump.pumping_direction = PumpingDirection.INFUSE # Sets the pumping volume of the pump in units of milliliters. pump.pumping_volume = 1.0 # Sets the pumping rate of the pump in units of milliliters per minute. pump.pumping_rate = 20.0 ``` ### Identifying ``` python # Prints the model number of the pump (e.g. "1000" for NE-1000). print(pump.model_number) # Prints the firmware version of the pump (e.g. "(3, 928)" for 3.928). print(pump.firmware_version) ``` ### Running (Blocking) Blocking running waits while the pump is running. ``` python # Runs the pump considering the direction, volume, and rate set. pump.run() ``` ### Running (Non-blocking) Non-blocking running returns immediately after starting the running. ``` python # Starts running the pump considering the direction, volume, and rate set. pump.run(False) # Waits while the pump is running. pump.wait_while_running() # Starts running the pump considering the direction, volume, and rate set. pump.run(False) # Waits while the pump is running. while pump.running : ... # Starts running the pump considering the direction, volume, and rate set. pump.run(False) ... # Stops the pump. pump.stop() ```


نیازمندی

مقدار نام
- pyserial


نحوه نصب


نصب پکیج whl NESP-Lib-1.0.0:

    pip install NESP-Lib-1.0.0.whl


نصب پکیج tar.gz NESP-Lib-1.0.0:

    pip install NESP-Lib-1.0.0.tar.gz