{"id":23221,"date":"2024-04-12T17:35:39","date_gmt":"2024-04-12T15:35:39","guid":{"rendered":"https:\/\/blog.darwin-microfluidics.com\/?p=23221"},"modified":"2026-11-19T15:24:55","modified_gmt":"2026-11-19T14:24:55","slug":"how-to-control-your-ne1000-syringe-pump-with-python","status":"publish","type":"post","link":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/","title":{"rendered":"How to Control your NE-1000 Syringe Pump with Python?"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"23221\" class=\"elementor elementor-23221\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3837b4c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3837b4c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c7ac07c\" data-id=\"c7ac07c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6e273a6 elementor-widget elementor-widget-text-editor\" data-id=\"6e273a6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In a world of laboratory automation where precision and control are paramount, <strong>syringe pumps<\/strong> serve as excellent tools for delivering <strong>precise volumes of liquid<\/strong> with accuracy and reproducibility. Among these pumps, the&nbsp;<a href=\"https:\/\/darwin-microfluidics.com\/products\/syringeone-programmable-syringe-pump\" target=\"_blank\" rel=\"noopener\"><b>NE-1000&nbsp;syringe pump<\/b>&nbsp;<\/a>stands out for its robust performance and versatility.&nbsp;<\/p><p>In this blog post, we detail the <strong>RS-232 communication control<\/strong> of the NE-1000 syringe pump, explore its capabilities and provide insights into setting up communication and interfacing with <strong>Python<\/strong> with step-by-step instructions to streamline the process. Whether you&rsquo;re a seasoned researcher or a newbie with pump control, this blog post equips you with the knowledge and tools to take control of your NE-1000 pump.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-da2f2bf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"da2f2bf\" data-element_type=\"section\" data-e-type=\"section\" data-settings='{\"background_background\":\"classic\"}'>\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1542a63\" data-id=\"1542a63\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bd8b1dd elementor-toc--content-ellipsis elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents\" data-id=\"bd8b1dd\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings='{\"exclude_headings_by_selector\":\"#cta1, #cta2\",\"headings_by_tags\":[\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],\"marker_view\":\"numbers\",\"no_headings_message\":\"No headings were found on this page.\",\"minimize_box\":\"yes\",\"minimized_on\":\"tablet\",\"hierarchical_view\":\"yes\",\"min_height\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]},\"min_height_tablet\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]},\"min_height_mobile\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]}}' data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t\t\t\t<h4 class=\"elementor-toc__header-title\">\n\t\t\t\tTABLE OF CONTENTS\t\t\t<\/h4>\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--expand\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__bd8b1dd\" aria-expanded=\"true\" aria-label=\"Open table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-down\"><\/i><\/div>\n\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--collapse\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__bd8b1dd\" aria-expanded=\"true\" aria-label=\"Close table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-up\"><\/i><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<div id=\"elementor-toc__bd8b1dd\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<i class=\"elementor-toc__spinner eicon-animation-spin eicon-loading\" aria-hidden=\"true\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e5a4d30 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e5a4d30\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fd0ca63\" data-id=\"fd0ca63\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c5169c2 elementor-widget elementor-widget-heading\" data-id=\"c5169c2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Why Choose the NE-1000 Syringe Pump?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e52097f elementor-widget elementor-widget-text-editor\" data-id=\"e52097f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The&nbsp;<a href=\"https:\/\/darwin-microfluidics.com\/products\/syringeone-programmable-syringe-pump\" rel=\"noopener\">NE-1000 syringe pump<\/a>&nbsp;from <a href=\"https:\/\/darwin-microfluidics.com\/new-era\/\">New Era Pump Systems<\/a> is prized for its reliability and flexibility. It offers a wide range of flow rates (from 0.73 &mu;L\/hr with a 1 mL syringe to 2120 mL\/hr with a 60 mL syringe) and precise volume delivery, making it ideal for various applications such as drug dosing and calibrated injections. With its compact design and user-friendly interface, the NE-1000 simplifies experimental setups while ensuring consistent and accurate results.<\/p><p>It is fully programmable standalone or via any computer or device with an RS-232&nbsp; communication port. It has a built-in pump network driver with a pump network supporting up to 100 pumps and other devices. It is also characterized by its non-volatile memory of all operating parameters and <a href=\"#PumpingProgram\">pumping program<\/a> allowing complex pumping applications and interactions with external devices.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-559906f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"559906f\" data-element_type=\"section\" data-e-type=\"section\" id=\"PumpingProgram\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9e596bc\" data-id=\"9e596bc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7eb62b6 elementor-widget elementor-widget-heading\" data-id=\"7eb62b6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What is a Pumping Program?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-70b6912 elementor-widget elementor-widget-text-editor\" data-id=\"70b6912\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>A <strong>Pumping Program<\/strong> dictates the sequence of actions performed by the pump, including setting pumping rates, volumes, directions, and executing pauses or conditional statements. These previously defined sequence of functions ensure precise and automatic pump operation, with and without user intervention.<\/p><p>A pumping program can be entered directly from the pump&rsquo;s keypad, or uploaded from a computer using dedicated software: PumpTerm,<span style=\"color: inherit; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem; letter-spacing: -0.01rem;\">&nbsp;a pump terminal emulator that facilitates communication with any pump equipped with a PC interface by uploading programs and commands from a file or&nbsp;<\/span><a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff; font-size: 1rem; letter-spacing: -0.01rem;\" href=\"https:\/\/darwin-microfluidics.com\/products\/syringepumppro-software-for-new-era-pumps\">SyringePumpPro<\/a><span style=\"color: inherit; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem; letter-spacing: -0.01rem;\">&nbsp;that serves as a control software for pumps and allows automatic monitoring of all pump parameters.<\/span><\/p><p>Additionally, a <strong>pumping program generator spreadsheet<\/strong> is available to assist in developing pumping programs and in creating and organizing pumping sequences, that can be stored in a text file and uploaded to the pump for execution&nbsp;<span style=\"letter-spacing: -0.16px; color: var( --e-global-color-text ); font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem;\">&#128196;<\/span><span style=\"color: inherit; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem; letter-spacing: -0.01rem;\">.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9125522 elementor-widget elementor-widget-image\" data-id=\"9125522\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/www.syringepump.com\/software.php\" target=\"_blank\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"358\" height=\"190\" src=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/ppl_LE_ml_resize_x2.jpg\" class=\"attachment-large size-large wp-image-23284\" alt=\"An image of a NE-1000 syringe pump controlled by a PC using the pumping program generator. The image has a white background.\" srcset=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/ppl_LE_ml_resize_x2.jpg 358w, https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/ppl_LE_ml_resize_x2-300x159.jpg 300w\" sizes=\"(max-width: 358px) 100vw, 358px\"\/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-aa53d62 elementor-widget elementor-widget-text-editor\" data-id=\"aa53d62\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>While PumpTerm and SyringePumpPro are valuable tools for controlling syringe pumps, they are not the only options available. One can use programming platforms like Python that has robust libraries for serial communication enabling precise control and automation of the NE-1000 pump.<\/p><p>Before we explore how Python can be utilized for precise control of the NE-1000 syringe pump providing examples and insights into its application, we will briefly detail the RS-232 command set used to communicate with the NE-1000. If you&rsquo;re already familiar with the RS-232 communication protocol, feel free to jump directly to the <a href=\"#CodeSnippet\">Python code snippets<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0a76885 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0a76885\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2fe4099\" data-id=\"2fe4099\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4dc803c elementor-widget elementor-widget-heading\" data-id=\"4dc803c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What do you Need to Communicate with the NE-1000 Pump?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2b3e3b0 elementor-widget elementor-widget-text-editor\" data-id=\"2b3e3b0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To communicate with the NE-1000 syringe pump using python, you will need a few key components:<\/p><ul><li>An <a href=\"https:\/\/darwin-microfluidics.com\/products\/syringeone-programmable-syringe-pump\">NE-1000 syringe pump<\/a> with a <a href=\"https:\/\/darwin-microfluidics.com\/categories\/syringes\/\">syringe<\/a> of your choice,<\/li><li>An <a href=\"https:\/\/darwin-microfluidics.com\/products\/rs-232-pump-synchronization-cable\">RS-232 cable<\/a>&nbsp; allowing for serial communication and enabling data transfer between the syringe pump and the computer,<\/li><li>A Serial Port: The computer must have an available serial port or a USB-to-serial adapter for connecting to the RS-232 cable,<\/li><li>A Python Environment with the <a href=\"https:\/\/pypi.org\/project\/pyserial\/\" target=\"_blank\" rel=\"noopener\">PySerial<\/a> package that encapsulates access to the serial port,<\/li><li>A basic understanding of the <a href=\"#CommandSet\">RS-232 command set<\/a> detailed in the pump&rsquo;s <a href=\"https:\/\/darwin-microfluidics.com\/content\/pdfs\/NE-1000_Syringe_Pump_User_Manual.pdf\" target=\"_blank\" rel=\"noopener\">user manual<\/a>.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fdb051c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fdb051c\" data-element_type=\"section\" data-e-type=\"section\" id=\"cta1\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-be85718\" data-id=\"be85718\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-350f45f elementor-widget elementor-widget-global elementor-global-18289 elementor-widget-pix-promo-box\" data-id=\"350f45f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"pix-promo-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"pix-promo-box card w-100 h-1002 bg-heading-default  pix-hover-item rounded-10 position-relative overflow-hidden text-white   text-left w-100 d-block\"><img decoding=\"async\" src=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/02\/Syringe-pumps_1920x600_DARWIIN_MICROFLUIDICS.jpg\" class=\"card-img pix-bg-image pix-img-scale h-100 rounded-10 pix-opacity-4 pix-hover-opacity-4\" alt=\"LOOKING FOR VERSATILE PUMPING OPTIONS?\"\/><a href=\"https:\/\/darwin-microfluidics.com\/collections\/syringe-pump\" class=\"card-img-overlay2 d-inline-block w-100 pix-img-overlay pix-p-20 d-flex align-items-end\" style=\"min-height:300px;\"><div class=\"w-100\"><div class=\"\"><span class=\"pix-badge-element d-inline-block mr-1 \"><span class=\"badge font-weight-bold bg-primary  \" style=\"font-size:22px; \"><span class=\"text-white\" style=\"\">Discover our selection!<\/span><\/span><\/span><\/div><h2 class=\"card-title font-weight-bold text-white pix-my-10\" style=\"\">LOOKING FOR VERSATILE PUMPING OPTIONS?<\/h2><span class=\"d-flex align-items-center font-weight-bold text-light-opacity-6 text-20\"><span>Unrivalled control of fluid delivery thanks to our high-performance syringe pumps!<\/span><i class=\"pixicon-angle-right pix-hover-right pix-hover-item pix-ml-10 font-weight-bold text-20\"><\/i><\/span><\/div><\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a62cf5d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a62cf5d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6ff5248\" data-id=\"6ff5248\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2735eb6 elementor-widget elementor-widget-heading\" data-id=\"2735eb6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Set Up the Communication Port?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9a4f582 elementor-widget elementor-widget-text-editor\" data-id=\"9a4f582\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Before you can start sending commands to the NE-1000 pump via Python, it&rsquo;s essential to configure the communication port. Follow these steps to establish a connection&nbsp;<span style=\"letter-spacing: -0.16px; color: var( --e-global-color-text ); font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem;\">&#128295;<\/span><span style=\"color: inherit; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem; letter-spacing: -0.01rem;\">:<\/span><\/p><ul><li>Connect the RS-232 cable to the serial port on the rear of the NE-1000 syringe pump and the corresponding port on the computer.<\/li><li>Turn on the pump.<\/li><li>Ensure that the serial port settings match the specifications of your syringe pump:<ul><li>1 start bit<\/li><li>8 data bits<\/li><li>Parity: none<\/li><li>1 stop bit<\/li><li>a baud rate of 19200 bits\/s<\/li><\/ul><\/li><\/ul><ul><li>Identify the serial port name assigned to the connection on your computer (e.g., COM4 for Windows or \/dev\/ttyUSB0 for Linux). You can typically find this information in the device manager or by using terminal coammands.<\/li><li>A triangle icon (on the top left of the pump screen) indicates successful communication, persisting until power-off or entering &lsquo;Setup Configuration&rsquo;.<\/li><li>Test the connection by sending a simple command, such as querying the pump status.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ef00d45 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ef00d45\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a10fcb2\" data-id=\"a10fcb2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cbc34e6 elementor-widget elementor-widget-heading\" data-id=\"cbc34e6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What is the RS-232 Command Set?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4adbcfb elementor-widget elementor-widget-text-editor\" data-id=\"4adbcfb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The NE-1000 syringe pump communicates through RS-232 storing data changes in non-volatile memory, excluding pumping rate adjustments during operation. Each program phase encompasses pumping rate, volume to dispense and pumping direction selectable using the &lsquo;PHN&rsquo; command.&nbsp;<\/p><p><span style=\"letter-spacing: -0.16px; color: var( --e-global-color-text ); font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem;\">The RS-232 Command Set used to control the NE-1000 pump is summarized in the <a href=\"#CommandSet\">table<\/a> below.&nbsp;<\/span>Commands without parameters serve as queries returning requested data. Responses typically mirror command parameters. Successful setting commands prompt a status response while unsuccessful ones generate an error message.&nbsp;<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2af95d0 elementor-widget elementor-widget-shortcode\" data-id=\"2af95d0\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"CommandSet\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-23\" class=\"tablepress tablepress-id-23\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Command<\/th><th class=\"column-2\">Definition<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">DIA [float]<\/td><td class=\"column-2\">Syringe inside diameter<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">PHN [phase data]<\/td><td class=\"column-2\">Program phase number<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">FUN [phase function]<\/td><td class=\"column-2\">Program phase function<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">RAT<\/td><td class=\"column-2\">Pumping 'RATE' function<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">RAT [float | rate units]<\/td><td class=\"column-2\">Pumping rate<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">VOL [float | volume units]<\/td><td class=\"column-2\">Volume to be dispensed<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">DIR [INF \\ WDR]<\/td><td class=\"column-2\">Pumping direction<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">INC<\/td><td class=\"column-2\">Increment rate function, 'INCR'<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">DEC<\/td><td class=\"column-2\">Decrement rate function, 'DECR'<\/td>\n<\/tr>\n<tr class=\"row-11\">\n\t<td class=\"column-1\">JMP [phase data]<\/td><td class=\"column-2\">Jump to program phase function, 'JP:nn'<\/td>\n<\/tr>\n<tr class=\"row-12\">\n\t<td class=\"column-1\">LPS<\/td><td class=\"column-2\">Start loop, 'LP:ST'<\/td>\n<\/tr>\n<tr class=\"row-13\">\n\t<td class=\"column-1\">LOP [count data]<\/td><td class=\"column-2\">Loop to previous loop start 'nn' times, 'LP:nn'<\/td>\n<\/tr>\n<tr class=\"row-14\">\n\t<td class=\"column-1\">LPE<\/td><td class=\"column-2\">End loop, 'LP:EN'<\/td>\n<\/tr>\n<tr class=\"row-15\">\n\t<td class=\"column-1\">PAS [number data]<\/td><td class=\"column-2\">Pause pumping for 'nn' seconds, 'PS:nn'<\/td>\n<\/tr>\n<tr class=\"row-16\">\n\t<td class=\"column-1\">BEP<\/td><td class=\"column-2\">Sound short beep, 'BEEP'<\/td>\n<\/tr>\n<tr class=\"row-17\">\n\t<td class=\"column-1\">CLD [INF \\ WDR]<\/td><td class=\"column-2\">Clear volume dispensed<\/td>\n<\/tr>\n<tr class=\"row-18\">\n\t<td class=\"column-1\">RESET<\/td><td class=\"column-2\">Reset pump and clear program memory<\/td>\n<\/tr>\n<tr class=\"row-19\">\n\t<td class=\"column-1\">RUN<\/td><td class=\"column-2\">Start the pumping program<\/td>\n<\/tr>\n<tr class=\"row-20\">\n\t<td class=\"column-1\">STP<\/td><td class=\"column-2\">Stop pump, 'STOP'<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-23 from cache --><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8f6c4ed elementor-widget elementor-widget-text-editor\" data-id=\"8f6c4ed\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The rate units are &lsquo;UM&rsquo; for &micro;L\/min, &lsquo;MM&rsquo; for mL\/min, &lsquo;UH&rsquo; for &micro;L\/hr and &lsquo;MH&rsquo; for mL\/hr. The volume units are &lsquo;UL&rsquo; for &micro;L and &lsquo;ML&rsquo; for mL. These are set according to the current syringe diameter setting.<\/p><p>When sending the &lsquo;RUN&rsquo; command to the pump, the Pumping Program resumes at the point where it was stopped, in the case it was paused. Otherwise, the Pumping Program starts from Phase 1. While executing the &lsquo;RUN #&rsquo; command, the program initiates from the specified phase (# is the phase &lsquo;PHN&rsquo; number).<\/p><p>When the &lsquo;STP&rsquo; command is sent to the pump, if the Pumping Program is operating, this latter will be paused and the pump will be stopped. If the Pumping Program is already paused, the &lsquo;STP&rsquo; command will cancel the pause and reset the Pumping Program to Phase 1.&nbsp;<span style=\"color: inherit; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem; letter-spacing: -0.01rem;\">For more details about the RS-232 command set, kindly check the NE-1000 syringe pump&rsquo;s <\/span><a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff; font-size: 1rem; letter-spacing: -0.01rem;\" href=\"https:\/\/darwin-microfluidics.com\/content\/pdfs\/NE-1000_Syringe_Pump_User_Manual.pdf\" target=\"_blank\" rel=\"noopener\">documentation<\/a><span style=\"color: inherit; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem; letter-spacing: -0.01rem;\">.<\/span><\/p><p>With the communication port configured and having basic understanding of the RS-232 command set, you&rsquo;re ready to start developing Python scripts to control the NE-1000 syringe pump&nbsp;<span style=\"letter-spacing: -0.16px; color: var( --e-global-color-text ); font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem;\">&#128377;&#65039;<\/span><span style=\"color: inherit; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); font-size: 1rem; letter-spacing: -0.01rem;\">.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-23202cf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"23202cf\" data-element_type=\"section\" data-e-type=\"section\" data-settings='{\"background_background\":\"classic\"}'>\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b51bbc7\" data-id=\"b51bbc7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-42338d6 elementor-widget elementor-widget-text-editor\" data-id=\"42338d6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-size: 22px;\">&#128161; Upgraded features to the standard NE-1000 firmware:<\/span><\/p><ul><li>The X Firmware Advanced Features Upgrade with a Linear\/Gradient ramping for smooth gradients and additional programming functions.<\/li><li>The X2 Firmware Advanced Features and Memory Upgrade including all of the features of the X firmware version with an increase of the pumping program memory from 41 to 340 phases.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c50f29c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c50f29c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-115af28\" data-id=\"115af28\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f7b5533 elementor-widget elementor-widget-heading\" data-id=\"f7b5533\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">NE-1000 Syringe Pump Programmation Using Python?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fcb63e7 elementor-widget elementor-widget-text-editor\" data-id=\"fcb63e7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Python code snippets showing how to open the serial port, write and send control command strings to the pump and write a pumping program to the NE-1000 will be presented below.<\/p><p>We&rsquo;ll walk through code snippets that demonstrate how to perform common tasks such as infusing liquids, setting pumping rates, and executing complex pumping sequences. These examples will provide a hands-on understanding of Python-based control of the NE-1000 syringe pump.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f274ca7 elementor-widget elementor-widget-heading\" data-id=\"f274ca7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Replicating SyringePumpPro and PumpTerm Functionality<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-deeac77 elementor-widget elementor-widget-text-editor\" data-id=\"deeac77\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this first part, we will use Python to replicate the functionality offered by SyringePumpPro and PumpTerm: <a href=\"#uploading\">uploading a Pumping Program<\/a> from a computer (or <a href=\"#writing\">writing it directly to the pump<\/a>). This subsection will elucidate how a Python script effectively emulates the capabilities of these software tools, enabling the control and automation of the NE-1000 syringe pump.<\/p><p>We will use the Python &ldquo;<strong>serial<\/strong>&rdquo; library to establish communication with the NE-1000 syringe pump via a serial port connection. First, we import the &ldquo;<strong>serial<\/strong>&rdquo; module, which provides tools for serial communication. The &ldquo;<strong>serial.Serial<\/strong>&rdquo; function is then employed to initialize the serial port connection, specifying parameters such as port name (&lsquo;COM2&rsquo;), baud rate (19200), and communication settings like parity, byte size, and stop bits.<\/p><p>The Python code snippets are presented and detailed below&#128071;.&nbsp;<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b787dbd elementor-widget elementor-widget-heading\" data-id=\"b787dbd\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"uploading\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Uploading a PPL File from a Computer to the Pump<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-042cfd6 elementor-widget elementor-widget-code-highlight\" data-id=\"042cfd6\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"CodeSnippet\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>'''\r\n------------------------------------------------\r\nUploading a PPL File from a Computer to the Pump\r\n------------------------------------------------\r\n'''\r\n\r\nimport serial # serial library to establish communication with the pump\r\nimport time\r\n\r\n# Open the serial port\r\nser = serial.Serial('COM2', 19200, parity=serial.PARITY_NONE, bytesize=8, stopbits=1, timeout=None, xonxoff=0, rtscts=0) # make sure to modify the port name 'COM2' with the corresponding port on your computer\r\n\r\n# Define a function to send commands (with an option to read responses from the pump)\r\ndef send_command(command):\r\n    ser.write((command + '\\r\\n').encode()) # send commands as encoded strings\r\n    time.sleep(0.1)  # brief delay allowing time for the pump to process the command\r\n\r\n# Define a function to read the content of a PPL file\r\ndef read_ppl_file(file_path):\r\n    with open(file_path, 'r') as file:\r\n        return file.read()\r\n\r\n# PPL file path; make sure you modify it by writing your file path\r\nppl_file_path = 'C:\/Users\/DarwinMicrofluidics\/Desktop\/NE1000\/Test.ppl'\r\n\r\n# Read the content of the PPL file\r\nppl_content = read_ppl_file(ppl_file_path)\r\n\r\n# Reset pump\r\nsend_command(\"RESET\")\r\n\r\n# Split PPL content into lines and send each line as a command\r\nfor line in ppl_content.split('\\n'):\r\n    line = line.strip()  # remove leading\/trailing whitespaces\r\n    if line:  # skip empty lines\r\n        send_command(line) # send the command line to the pump\r\n        \r\n# Run the pumping program\r\nsend_command(\"RUN\")\r\n \r\n# Once the program executed, close the serial port (optional)\r\nser.close()\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7e5eb03 elementor-widget elementor-widget-text-editor\" data-id=\"7e5eb03\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The &ldquo;<strong>send_command<\/strong>&rdquo; function is defined to streamline the process of sending commands to the pump (with an option also to read its response). Within this function, commands are sent to the pump as encoded strings, followed by a brief delay using &ldquo;<strong>time.sleep()<\/strong>&rdquo; to allow time for the pump to process the command.<\/p><p>Additionally, a &ldquo;<strong>read_ppl_file<\/strong>&rdquo; function is included to read the content of a Pump Programming Language (PPL) file, which contains sequences of commands to be executed by the pump. The file path to the PPL file is specified, and its content is read using the &quot;<strong>read_ppl_file<\/strong>&quot; function.<\/p><p>The pump is reset using the &ldquo;<strong>RESET<\/strong>&rdquo; command, ensuring a clean start before executing the sequence of commands contained in the PPL file. The PPL content is split into lines, and each line is sent as a command to the pump using the &ldquo;<strong>send_command<\/strong>&rdquo; function. Finally, the &ldquo;<strong>RUN<\/strong>&rdquo; command is sent to initiate the pumping process.<\/p><p>Once all commands have been executed, the serial port connection can be closed using &ldquo;<strong>ser.close()<\/strong>&rdquo;, ensuring proper cleanup of resources.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e44ef7e elementor-widget elementor-widget-heading\" data-id=\"e44ef7e\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"writing\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Writing a Pumping Program to the Pump<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7ac5ae0 elementor-widget elementor-widget-text-editor\" data-id=\"7ac5ae0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The previous code demonstrates a streamlined approach to controlling the NE-1000 syringe pump using Python. However, one may not have access to the pumping program generator spreadsheet or simply prefers writing the pumping program directly in the <a href=\"#script\">python script<\/a> to make direct and visual modifications to the program before sending it to the pump. This approach offers greater flexibility and immediacy in programming the pump&rsquo;s actions. The following <a href=\"#script\">code snippet<\/a> illustrates this method, allowing users to define the pumping program directly within the Python script enabling real-time adjustments of parameters and sequences.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0839d71 elementor-widget elementor-widget-code-highlight\" data-id=\"0839d71\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"script\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>'''\r\n-------------------------------------\r\nWriting a Pumping Program to the Pump\r\n-------------------------------------\r\n'''\r\n\r\nimport serial # serial library to establish communication with the pump\r\nimport time\r\n\r\n# Open the serial port\r\nser = serial.Serial('COM2', 19200, parity=serial.PARITY_NONE, bytesize=8, stopbits=1, timeout=None, xonxoff=0, rtscts=0) # make sure to modify the port name 'COM2' with the corresponding port on your computer\r\n\r\n# Define a function to send commands (with an option to read responses from the pump)\r\ndef send_command(command):\r\n    ser.write((command + '\\r\\n').encode()) # send commands as encoded strings\r\n    time.sleep(0.1)  # brief delay allowing time for the pump to process the command\r\n\r\n# Define your pumping program\r\nPumping_Program = \"\"\"\r\nDIA 26.59\r\n\r\nPHN 1\r\nFUN RAT\r\nRAT 500 MH\r\nVOL 2.0\r\nDIR INF\r\n\r\nPHN 2\r\nFUN PAS 10\r\n\r\nPHN 3\r\nFUN RAT \r\nRAT 200 MH \r\nVOL 1.0\r\nDIR WDR\r\n\r\nPHN 4 \r\nFUN STP\r\n\"\"\"\r\n\r\n# Reset pump\r\nsend_command(\"RESET\")\r\n\r\n# Split the content of the program into lines and send each line as a command\r\nfor line in Pumping_Program.split('\\n'):\r\n    line = line.strip()  # remove leading\/trailing whitespaces\r\n    if line:  # skip empty lines\r\n        send_command(line) # send the command line to the pump\r\n        \r\n# Run the pumping program\r\nsend_command(\"RUN\")\r\n \r\n# Once the program executed, close the serial port (optional)\r\nser.close()\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-19610e4 elementor-widget elementor-widget-text-editor\" data-id=\"19610e4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Herein, we define a Pumping_Program directly within the Python script. The program (detailed in the <a href=\"#examples\">Examples of Pumping Programs<\/a> below<a href=\"#examples\"> &#128071;<\/a>) contains a sequence of commands,&nbsp; organized into individual lines. Each line is sent as a command to the pump using the &ldquo;<strong>send_command<\/strong>&rdquo; function.<\/p><p>After sending the entire pumping program to the pump, the &ldquo;<strong>RUN<\/strong>&rdquo; command is issued to initiate the pumping process.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-130aa52 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"130aa52\" data-element_type=\"section\" data-e-type=\"section\" id=\"examples\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c2bfe24\" data-id=\"c2bfe24\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f71a394 elementor-widget elementor-widget-heading\" data-id=\"f71a394\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Examples of Pumping Programs<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-348de0e elementor-widget elementor-widget-text-editor\" data-id=\"348de0e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Below are three examples of pumping programs designed for the NE-1000 syringe pump, each tailored to specific experimental requirements.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d3f7d16 elementor-widget elementor-widget-heading\" data-id=\"d3f7d16\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Example 1: Infusing and Withdrawing Liquids<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2265007 elementor-widget elementor-widget-text-editor\" data-id=\"2265007\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this example, the NE-1000 syringe pump infuses a liquid at a specified rate and volume, pauses for 10 seconds, withdraws a different volume at a different rate and then stops. The different phases of the pumping program are summarized in the table below and the corresponding program is shown in the <a href=\"#ex1\">code snippet<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0f5e73f elementor-widget-mobile__width-inherit elementor-widget elementor-widget-shortcode\" data-id=\"0f5e73f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-26\" class=\"tablepress tablepress-id-26\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Phase<\/th><th class=\"column-2\">Function<\/th><th class=\"column-3\">Value<\/th><th class=\"column-4\">Rate<\/th><th class=\"column-5\">Volume<\/th><th class=\"column-6\">Direction<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">1<\/td><td class=\"column-2\">RAT<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">500 mL\/hr<\/td><td class=\"column-5\">2.0 mL<\/td><td class=\"column-6\">Infuse<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">2<\/td><td class=\"column-2\">PAS<\/td><td class=\"column-3\">10<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">3<\/td><td class=\"column-2\">RAT<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">200 mL\/hr<\/td><td class=\"column-5\">1.0 mL<\/td><td class=\"column-6\">Withdraw<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">4<\/td><td class=\"column-2\">STP<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-26 from cache --><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f0d1f93 elementor-widget elementor-widget-code-highlight\" data-id=\"f0d1f93\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"ex1\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python \">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>Example1 = \"\"\"\r\nDIA 26.59\r\n\r\nPHN 1\r\nFUN RAT\r\nRAT 500 MH\r\nVOL 2.0\r\nDIR INF\r\n\r\nPHN 2\r\nFUN PAS 10\r\n\r\nPHN 3\r\nFUN RAT \r\nRAT 200 MH \r\nVOL 1.0\r\nDIR WDR\r\n\r\nPHN 4 \r\nFUN STP\r\n\"\"\"\r\n\r\n# start by setting the syringe diameter\r\n# no need to set the volume units when setting the volume in a RATE function<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9fc747b elementor-widget elementor-widget-heading\" data-id=\"9fc747b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Example 2: Repeated Dispenses with Suck Back<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3608b4e elementor-widget elementor-widget-text-editor\" data-id=\"3608b4e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This pumping program dispenses 2.0 mL of a liquid with a 20 seconds pause interval between dispenses (a total of 4 dispenses). After each dispense, a small volume of 0.25 mL is withdrawn to prevent dripping. Additionally, a beep signal is emitted 3 seconds before the end of each pause to signal the upcoming dispense. Starting from the second dispense, 0.25 mL is added to the dispensed volume to compensate for the sucked back volume of the previous dispense.<\/p><p>The different phases of the pumping program are summarized in the table below and the corresponding program is shown in the <a href=\"#ex2\">code snippet<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fd6b0ab elementor-widget elementor-widget-shortcode\" data-id=\"fd6b0ab\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-28\" class=\"tablepress tablepress-id-28\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Phase<\/th><th class=\"column-2\">Function<\/th><th class=\"column-3\">Value<\/th><th class=\"column-4\">Rate<\/th><th class=\"column-5\">Volume<\/th><th class=\"column-6\">Direction<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">1<\/td><td class=\"column-2\">RAT<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">500 mL\/hr<\/td><td class=\"column-5\">2.0 mL<\/td><td class=\"column-6\">Infuse<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">2<\/td><td class=\"column-2\">RAT<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">500 mL\/hr<\/td><td class=\"column-5\">0.25 mL<\/td><td class=\"column-6\">Withdraw<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">3<\/td><td class=\"column-2\">LPS<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">4<\/td><td class=\"column-2\">PAS<\/td><td class=\"column-3\">17<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">5<\/td><td class=\"column-2\">BEP<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">6<\/td><td class=\"column-2\">PAS<\/td><td class=\"column-3\">3<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">7<\/td><td class=\"column-2\">RAT<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">500 mL\/hr<\/td><td class=\"column-5\">2.25 mL<\/td><td class=\"column-6\">Infuse<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">8<\/td><td class=\"column-2\">RAT<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">500 mL\/hr<\/td><td class=\"column-5\">0.25 mL<\/td><td class=\"column-6\">Withdraw<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">9<\/td><td class=\"column-2\">LOP<\/td><td class=\"column-3\">3<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-28 from cache --><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-11b238f elementor-widget elementor-widget-code-highlight\" data-id=\"11b238f\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"ex2\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python \">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>Example2 = \"\"\"\r\nDIA 26.59\r\n\r\nPHN 1\r\nFUN RAT\r\nRAT 500 MH\r\nVOL 2.0\r\nDIR INF\r\n\r\nPHN 2\r\nFUN RAT\r\nRAT 500 MH\r\nVOL 0.25\r\nDIR WDR\r\n\r\nPHN 3\r\nFUN LPS\r\n\r\nPHN 4\r\nFUN PAS 17\r\n\r\nPHN 5\r\nFUN BEP\r\n\r\nPHN 6\r\nFUN PAS 3\r\n\r\nPHN 7\r\nFUN RAT\r\nRAT 500 MH\r\nVOL 2.25\r\nDIR INF\r\n\r\nPHN 8\r\nFUN RAT\r\nRAT 500 MH\r\nVOL 0.25\r\nDIR WDR\r\n\r\nPHN 9\r\nFUN LOP 3\r\n\"\"\"\r\n\r\n# an initial dispense of 2 mL followed by 3 dispenses of 2.25 mL\r\n# send_command(\"STP\") at any moment to pause\/stop the pumping program<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-295a2b3 elementor-widget elementor-widget-heading\" data-id=\"295a2b3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Example 3: Flow Rate Ramping<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3b037c7 elementor-widget elementor-widget-text-editor\" data-id=\"3b037c7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This pumping program continuously ramps up and down the pumping rate, incrementing from an initial value of 300 mL\/hr to 400 mL\/hr in 20 mL\/hr steps each time after dispensing a volume of 0.5 mL. After reaching the maximum rate, the pumping rate decrements in similar steps, after every 0.5 mL has been dispensed, until reaching 200 mL\/hr. Finally, the rate is incremented back to the initial value, and the cycle repeats.<\/p><p>The different phases of the pumping program are summarized in the table below and the corresponding program is shown in the <a href=\"#ex3\">code snippet<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c1a4cb elementor-widget elementor-widget-shortcode\" data-id=\"6c1a4cb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<table id=\"tablepress-29\" class=\"tablepress tablepress-id-29\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Phase<\/th><th class=\"column-2\">Function<\/th><th class=\"column-3\">Value<\/th><th class=\"column-4\">Rate<\/th><th class=\"column-5\">Volume<\/th><th class=\"column-6\">Direction<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">1<\/td><td class=\"column-2\">RAT<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">300 mL\/hr<\/td><td class=\"column-5\">0.5 mL<\/td><td class=\"column-6\">Infuse<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">2<\/td><td class=\"column-2\">LPS<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">3<\/td><td class=\"column-2\">INC<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">20 mL\/hr<\/td><td class=\"column-5\">0.5 mL<\/td><td class=\"column-6\">Infuse<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">4<\/td><td class=\"column-2\">LOP<\/td><td class=\"column-3\">5<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">5<\/td><td class=\"column-2\">LPS<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">6<\/td><td class=\"column-2\">DEC<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">20 mL\/hr<\/td><td class=\"column-5\">0.5 mL<\/td><td class=\"column-6\">Infuse<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">7<\/td><td class=\"column-2\">LOP<\/td><td class=\"column-3\">10<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">8<\/td><td class=\"column-2\">LPS<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">9<\/td><td class=\"column-2\">INC<\/td><td class=\"column-3\">-<\/td><td class=\"column-4\">20 mL\/hr<\/td><td class=\"column-5\">0.5 mL<\/td><td class=\"column-6\">Infuse<\/td>\n<\/tr>\n<tr class=\"row-11\">\n\t<td class=\"column-1\">10<\/td><td class=\"column-2\">LOP<\/td><td class=\"column-3\">5<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<tr class=\"row-12\">\n\t<td class=\"column-1\">11<\/td><td class=\"column-2\">JMP<\/td><td class=\"column-3\">2<\/td><td class=\"column-4\">-<\/td><td class=\"column-5\">-<\/td><td class=\"column-6\">-<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-29 from cache --><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-080e146 elementor-widget elementor-widget-code-highlight\" data-id=\"080e146\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"ex3\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python \">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>Example3 = \"\"\"\r\nDIA 26.59\r\n\r\nPHN 1\r\nFUN RAT\r\nRAT 300 MH\r\nVOL 0.5\r\nDIR INF\r\n\r\nPHN 2\r\nFUN LPS\r\n\r\nPHN 3\r\nFUN INC\r\nRAT 20\r\nVOL 0.5\r\nDIR INF\r\n\r\nPHN 4\r\nFUN LOP 5\r\n\r\nPHN 5\r\nFUN LPS\r\n\r\nPHN 6\r\nFUN DEC\r\nRAT 20\r\nVOL 0.5\r\nDIR INF\r\n\r\nPHN 7\r\nFUN LOP 10\r\n\r\nPHN 8\r\nFUN LPS\r\n\r\nPHN 9\r\nFUN INC\r\nRAT 20\r\nVOL 0.5\r\nDIR INF\r\n\r\nPHN 10\r\nFUN LOP 5\r\n\r\nPHN 11\r\nFUN JMP 2\r\n\"\"\"\r\n\r\n# send_command(\"STP\") at any moment to pause\/stop the pumping program\r\n# no need to set the rate units when setting the rate step in a INC and DEC functions<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a11b724 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a11b724\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-65ec1e6\" data-id=\"65ec1e6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-648be7d elementor-widget elementor-widget-heading\" data-id=\"648be7d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Custom Python Library for NE Syringe Pump Control<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-854a1e0 elementor-widget elementor-widget-text-editor\" data-id=\"854a1e0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this second part, a different effective way to control the NE-1000 syringe pump using Python is introduced. A custom <a href=\"#library\">Python library<\/a> is developed where easy-to-use functions can be used to set parameters, execute actions, and manage communication.<\/p><p>Below, we&rsquo;ll present the custom library used for controlling the NE-1000 syringe pump and explain its limitations. We&rsquo;ll delve into three different pumping program examples (Examples 1, 2 and 3 just presented above), demonstrating how these functions can be utilized to execute precise pumping sequences.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c4a2b52 elementor-widget elementor-widget-code-highlight\" data-id=\"c4a2b52\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"library\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>'''\r\n-----------------------------------------------------------------------\r\nNE-1000 Syringe Pump Control Library Using RS232 Communication Protocol\r\n-----------------------------------------------------------------------\r\n'''\r\n\r\nclass NewEraSyringePump:\r\n\r\n    # Open the serial port\r\n    def __init__(self, port):\r\n        self.ser = serial.Serial(port, 19200, parity=serial.PARITY_NONE, bytesize=8, stopbits=1, timeout=None, xonxoff=0, rtscts=0) # data format corresponding to the NE-1000\r\n        time.sleep(0.075)  # time for the pump to initialize\r\n\r\n    # Write a command to the syringe pump\r\n    def send_command(self, command):\r\n        self.ser.write(command.encode() + b'\\r\\n') # convert the command string into bytes, append a carriage return and line feed, and send the resulting byte sequence to the serial port\r\n        time.sleep(0.075) # a brief delay to ensure that the pump has enough time to process the command before proceeding to the next operation\r\n    \r\n    # Start the pump\r\n    def start_pump(self):\r\n        self.send_command(\"RUN\") # RUN to run the pump\r\n\r\n    # Stop the pump\r\n    def stop_pump(self):\r\n        self.send_command(\"STP\") # STP to stop the pump\r\n        \r\n    # Set the syringe diameter\r\n    def set_diameter(self, diameter):\r\n        command = f\"DIA {diameter}\" # DIA for syringe inside diameter (float)\r\n        self.send_command(command) # set the syringe diameter using the \"send_command\" function \r\n\r\n#-----------------------------------------------------------------------------------------#  \r\n# The three functions below (set_rate, set_volume and set_direction) are only defined to be used within the run_RATE_function defined afterwards\r\n#-----------------------------------------------------------------------------------------#\r\n\r\n    # Set the pumping rate\r\n    def set_rate(self, rate, r_units):\r\n        command = f\"RAT {rate} {r_units}\" # RAT for pumping rate \r\n        # Rate units: 'MH' for mL\/hr - 'MM' for mL\/min - 'UH' for &micro;L\/hr - 'UM' for &micro;L\/min\r\n        self.send_command(command)\r\n\r\n    # Set the volume\r\n    def set_volume(self, volume, units):\r\n        command = f\"VOL {volume} {units}\" # VOL for volume \r\n        # Volume units: 'ML' for mL - 'UL' for &micro;L\r\n        self.send_command(command)\r\n\r\n    # Set the pumping direction\r\n    def set_direction(self, direction):\r\n        if direction == 0: \r\n            command = \"DIR INF\" # DIR for pumping direction - INF for infuse\r\n        elif direction == 1: \r\n            command = \"DIR WDR\" # WDR for withdraw\r\n        elif direction == 2:  \r\n           command = \"DIR REV\" # REV for reverse direction\r\n        self.send_command(command)\r\n\r\n#-----------------------------------------------------------------------------------------# \r\n\r\n    # Define the \"RATE\" Function\r\n    def run_RATE_function(self, rate, rate_units, volume, units, direction):\r\n        self.set_rate(rate, rate_units) # Set the pumping rate\r\n        self.set_volume(volume, units) # Set the pumping volume\r\n        self.set_direction(direction) # Set the pumping direction\r\n        self.start_pump() # Start the pumping rate function\r\n        # Calculate pumping duration based on rate and volume units:\r\n        if rate_units == \"MH\" and units == \"ML\":\r\n            pumping_duration = volume * 3600 \/ rate # mL\/hr and mL\r\n        elif rate_units == \"UH\" and units == \"UL\":\r\n            pumping_duration = volume * 3600 \/ rate # &micro;L\/hr and &micro;L\r\n        elif rate_units == \"MH\" and units == \"UL\":\r\n            pumping_duration = volume * 3.6 \/ rate # mL\/hr and &micro;L\r\n        elif rate_units == \"UH\" and units == \"ML\":\r\n            pumping_duration = volume * 3.6 * 10**6 \/ rate # &micro;L\/hr and mL\r\n        \r\n        elif rate_units == \"MM\" and units == \"ML\":\r\n            pumping_duration = volume * 60 \/ rate # mL\/min and mL\r\n        elif rate_units == \"UM\" and units == \"UL\":\r\n            pumping_duration = volume * 60 \/ rate # &micro;L\/min and &micro;L\r\n        elif rate_units == \"MM\" and units == \"UL\":\r\n            pumping_duration = volume * 0.06 \/ rate # mL\/min and &micro;L\r\n        elif rate_units == \"UM\" and units == \"ML\":\r\n            pumping_duration = volume * 6 * 10**4 \/ rate # &micro;L\/min and mL\r\n        else:\r\n            raise ValueError(\"Unsupported units combination: rate_units={}, units={}\".format(rate_units, units))\r\n    \r\n        time.sleep(pumping_duration) # Delay to ensure the pump dispenses the required volume at the given pumping rate\r\n    \r\n        self.stop_pump() # Stop the pump\r\n            \r\n    # Reset the pump\r\n    def reset_pump(self):\r\n        self.send_command(\"RESET\") # RESET to reset the pump\r\n        \r\n    # Pump beep\r\n    def beep(self):\r\n        self.send_command(\"BEP\") # BEP for the pump beep\r\n\r\n    # Delete the pump\r\n    def __del__(self):\r\n        self.ser.close() # close the serial communication port\r\n        \r\n##### BELOW are the commands that should be executed #####\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-22f5180 elementor-widget elementor-widget-text-editor\" data-id=\"22f5180\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This custom library allows controlling the NE-1000 syringe pump. It establishes communication with the pump via a serial port and enables users to set parameters such as syringe diameter, pumping rate, volume, and direction. Users can initiate pump actions like starting, stopping, and resetting the pump. Additionally, a &ldquo;RATE&rdquo; function is defined using a set of already defined functions. Through this library, users can create precise pumping sequences directly from their Python environment, as will be demonstrated in the three following examples below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3993737 elementor-widget elementor-widget-heading\" data-id=\"3993737\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Example 1: Infusing and Withdrawing Liquids<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c280e7e elementor-widget elementor-widget-text-editor\" data-id=\"c280e7e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this example, the NE-1000 syringe pump infuses a liquid at a specified rate and volume, pauses for 10 seconds, withdraws a different volume at a different rate and then stops. YES, you&rsquo;re right ! This example was presented just above, which illustrates how the library allows executing the same pumping sequence described previously.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a4314ba elementor-widget elementor-widget-code-highlight\" data-id=\"a4314ba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>#--------------------------------------------------------------------------------------------#\r\n# Example 1: Infuse 4.0 mL at 500 mL\/hr, pause the pumping for 10s and then withdraw 2.0 mL at 200 mL\/hr. Finally, stop the pump.\r\n#--------------------------------------------------------------------------------------------#\r\n\r\n# Initialize the pump with the specified COM port\r\npump = NewEraSyringePump('COM2') # Replace 'COM2' with the actual COM port used for your connection\r\n\r\n# Reset pump\r\npump.reset_pump() # Reset the pump parameters\r\n\r\n# Set syringe diameter\r\npump.set_diameter(26.59) # Change this value according to the syringe you're using\r\n\r\n### BEGIN PUMPING SEQUENCE ###\r\n\r\n# First RATE function\r\npump.run_RATE_function(500, \"MH\", 4, \"ML\", 0) # Infuse 4.0 mL at 500 mL\/hr\r\n\r\n# Pause pumping\r\npause_time = 10 \r\ntime.sleep(float(pause_time)) # Pause the pumping for 10 seconds\r\n\r\n# Second RATE function \r\npump.run_RATE_function(200, \"MH\", 2, \"ML\", 1) # Withdraw 2.0 mL at 200 mL\/hr\r\n\r\n### END PUMPING SEQUENCE ###\r\n\r\n# Delete pump and close the serial communication port\r\ndel pump<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-52f8a99 elementor-widget elementor-widget-text-editor\" data-id=\"52f8a99\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This Python code snippet demonstrates the use of the custom library for controlling the NE-1000 syringe pump to execute a specific pumping sequence. First, the pump is initialized with the specified COM port, and then it&rsquo;s reset to ensure default parameters. The syringe diameter is set accordingly.<br>The pumping sequence consists of three main steps:<\/p><ul><li>The pump infuses 4.0 mL of liquid at a rate of 500 mL\/hr.<\/li><li>After a 10-second pause, the pump withdraws 2.0 mL of liquid at a rate of 200 mL\/hr.<\/li><li>Finally, the pump is stopped.<\/li><\/ul><p>Each step of the sequence is executed using the &quot;<strong>run_RATE_function<\/strong>&quot; method of the &quot;<strong>NewEraSyringePump<\/strong>&quot; class, specifying the pumping rate, volume, units, and direction. After the pumping sequence is completed, the pump instance is deleted, and the serial communication port is closed.<\/p><p>This code provides a straightforward example of how the custom library can be used to control the NE-1000 syringe pump and execute precise pumping sequences. Two more examples are provided below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e267db4 elementor-widget elementor-widget-heading\" data-id=\"e267db4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Example 2: Repeated Dispenses with Suck Back<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8ba6579 elementor-widget elementor-widget-text-editor\" data-id=\"8ba6579\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This pumping program dispenses 2.0 mL of a liquid with a 20-second pause interval between dispenses (a total of 4 dispenses). After each dispense, a small volume of 0.25 mL is withdrawn to prevent dripping. Additionally, a beep signal is emitted 3 seconds before the end of each pause to signal the upcoming dispense. Starting from the second dispense, 0.25 mL is added to the dispensed volume to compensate for the sucked back volume of the previous dispense.&nbsp;The corresponding program is shown in the code snippet below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-55bf10f elementor-widget elementor-widget-code-highlight\" data-id=\"55bf10f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>#--------------------------------------------------------------------------------------------#\r\n# Example 2: Dispense 2.0 mL at 500 mL\/hr with a pause of 20 seconds between dispenses. In addition, after each dispense, a volume of 0.25 mL is sucked back at the same flow rate to prevent dripping. 3 seconds before the end of the pause interval, a beep is sounded to alert the operator to prepare for the next dispense. Starting with the second dispense, 0.25 mL is added to the volume dispensed to compensate for the sucked back volume of the previous dispense. 3 dispenses are executed after the initial dispense.\r\n#--------------------------------------------------------------------------------------------#\r\n\r\n# Initialize the pump with the specified COM port\r\npump = NewEraSyringePump('COM2') # Replace 'COM2' with the actual COM port used for the connection\r\n\r\n# Reset pump\r\npump.reset_pump() # Reset the pump parameters\r\n\r\n# Set syringe diameter\r\npump.set_diameter(26.59) # Change this value according to the syringe you're using\r\n\r\n### BEGIN PUMPING PROGRAM ###\r\n\r\ndispensed_volume = 2.0  # Initial dispensed volume\r\nnb_dispenses = 3  # Number of dispenses executed after the initial dispense\r\nsuck_back_volume = 0.25  # Volume sucked back after each dispense\r\npause_time = 20  # Pause time of 20 seconds\r\n\r\n# Initial dispense and suck back\r\npump.run_RATE_function(500, \"MH\", dispense_volume, \"ML\", 0)  # RATE function to dispense, 0 to infuse\r\npump.run_RATE_function(500, \"MH\", suck_back_volume, \"ML\", 1)  # RATE function to suck back, 1 to withdraw\r\n\r\n# Execute 3 more dispenses after the initial dispense \r\nfor dispense_count in range(nb_dispenses):\r\n    # Wait for the specified pause time\r\n    time.sleep(pause_time - 3)  # Wait for 20s - 3s\r\n    # Beep to alert the operator 3 seconds before the end of the pause \r\n    pump.beep() # Pump beep\r\n    time.sleep(3)  # Wait for the remaining 3 seconds\r\n    \r\n    # Run the RATE function for dispensing while adding 0.25 mL to the volume dispensed to compensate for the sucked back volume of the previous dispense\r\n    pump.run_RATE_function(500, \"MH\", dispense_volume + suck_back_volume, \"ML\", 0)\r\n    # Run the pumping rate function for suck back\r\n    pump.run_RATE_function(500, \"MH\", suck_back_volume, \"ML\", 1)\r\n    \r\n### END PUMPING PROGRAM ###\r\n\r\n# Delete pump\r\ndel pump\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-62d30c0 elementor-widget elementor-widget-heading\" data-id=\"62d30c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Example 3: Flow Rate Ramping<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5e03400 elementor-widget elementor-widget-text-editor\" data-id=\"5e03400\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This pumping program continuously ramps up and down the pumping rate, incrementing from an initial value of 300 mL\/hr to 400 mL\/hr in 20 mL\/hr steps each time after dispensing a volume of 0.5 mL. After reaching the maximum rate, the pumping rate decrements in similar steps, after every 0.5 mL has been dispensed, until reaching 200 mL\/hr. Finally, the rate is incremented back to the initial value, and the cycle repeats. The corresponding program is shown in the code snippet below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-94728ce elementor-widget elementor-widget-code-highlight\" data-id=\"94728ce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly class=\"language-python\">\n\t\t\t\t\t<xmp>#--------------------------------------------------------------------------------------------#\r\n# Example 3: Continuously ramp up and down the pumping rate. \r\n# Starting at 300 mL\/hr, the pumping rate will increment to 400 mL\/hr in 20 mL\/hr steps after every 0.5 mL has been dispensed. \r\n# Then the pumping rate will decrement to 200 mL\/hr in 20 mL\/hr steps after every 0.5 mL has been dispensed. \r\n# Finally, the pumping rate is incremented back to 300 mL\/hr in 20 mL\/hr steps after every 0.5 mL has been dispensed, then the process is repeated.\r\n#--------------------------------------------------------------------------------------------#\r\n\r\n# Initialize the pump with the specified COM port\r\npump = NewEraSyringePump('COM2')  # Replace 'COM2' with the actual COM port used for the connection\r\n\r\n# Reset pump\r\npump.reset_pump() # Reset the pump parameters\r\n\r\n# Set syringe diameter\r\npump.set_diameter(26.59) # Change this value according to the syringe you're using\r\n\r\n### BEGIN PUMPING PROGRAM ###\r\n\r\n# Define initial variables\r\ncurrent_rate     = 300 # Initial flow rate\r\nincrement        = 20 # 20 mL\/hr steps\r\ndispensed_volume = 0.5 # volume to be dispensed before each rate ramp change\r\n\r\n# Define the boundaries\r\nlower_boundary = 200 # the minimum flow rate\r\nupper_boundary = 400 # the maximum flow rate\r\n\r\n# Continuously ramp up and down the pumping rate\r\nwhile True:\r\n    # Ramp up the pumping rate\r\n    while current_rate  upper_boundary:\r\n            current_rate = upper_boundary\r\n    \r\n    # Ramp down the pumping rate\r\n    while current_rate &gt; lower_boundary:\r\n        # Run pumping rate function for the defined volume and rate\r\n        pump.run_RATE_function(current_rate, \"MH\", dispense_volume, \"ML\", 0)\r\n\r\n        # Decrement the pumping rate\r\n        current_rate -= increment\r\n\r\n        # Check if the rate is below the lower boundary\r\n        if current_rate \n\t\t\t\t<\/xmp><\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-53d5c6a elementor-widget elementor-widget-text-editor\" data-id=\"53d5c6a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>While the custom Python library presents a valuable tool for controlling the NE-1000 syringe pump, it&rsquo;s essential to acknowledge the inherent limitation posed by the time delay in RS-232 communication. This observed delay arises from the pump&rsquo;s process of receiving and executing commands, resulting in a very short lag between consecutive commands.<\/p><p>This delay, albeit minor, can result in slight discrepancies in dispensed volumes, particularly noticeable when rapid rate changes are required within a pumping program as during rate changes, the pump operation should be stopped to send a new rate as stipulated in the pump&rsquo;s documentation. It specifies that the new rate is only stored in non-volatile memory if the Pumping Program is not operating &#128679;. This can, in some cases, disrupt the fluid flow and affect the accuracy of the experiment.<\/p><p>Despite attempts to mitigate this issue through strategic command sequencing and time delays, the challenge persists, influencing the pump&rsquo;s ability to maintain continuous and precise pumping operations, especially in time-sensitive microfluidic experiments.&nbsp; Moving forward, addressing this delay issue remains a priority to ensure optimal pump performance and accurate experimental outcomes.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c8604bf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c8604bf\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2894dce\" data-id=\"2894dce\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-02d307c elementor-widget elementor-widget-heading\" data-id=\"02d307c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Conclusion<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15dae47 elementor-widget elementor-widget-text-editor\" data-id=\"15dae47\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this blog post, we&rsquo;ve explored the basics of the RS-232 communication control of the NE-1000 syringe pump using Python, covering everything from configuring the communication port to programming custom pumping sequences. We hope this post serves as a valuable guide for researchers and engineers seeking to employ Python to remotely control their New Era Syringe Pumps using the RS-232 command set.<\/p><p>Stay tuned for more insights, tutorials, and practical applications in our future posts. Until then, happy pumping and coding &#128187;!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7cab70d elementor-widget elementor-widget-text-editor\" data-id=\"7cab70d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">&#128231; If you have any questions or feedback, please feel free to contact us at <\/span><a href=\"https:\/\/darwin-microfluidics.com\/pages\/contact-us\"><span style=\"font-weight: 400;\">support@darwin-microfluidics.com<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5a6e79f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5a6e79f\" data-element_type=\"section\" data-e-type=\"section\" id=\"cta2\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7bbc05f\" data-id=\"7bbc05f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0b52745 elementor-widget elementor-widget-global elementor-global-18550 elementor-widget-pix-promo-box\" data-id=\"0b52745\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"cta2\" data-widget_type=\"pix-promo-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"pix-promo-box card w-100 h-1002 bg-heading-default  pix-hover-item rounded-10 position-relative overflow-hidden text-white   text-left w-100 d-block\"><img decoding=\"async\" src=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/02\/image-WTTJ-1-1.jpg\" class=\"card-img pix-bg-image pix-img-scale h-100 rounded-10 pix-opacity-4 pix-hover-opacity-4\" alt=\"Need some help with your microfluidic project?\"\/><a href=\"https:\/\/darwin-microfluidics.com\/contact-us\" class=\"card-img-overlay2 d-inline-block w-100 pix-img-overlay pix-p-20 d-flex align-items-end\" style=\"min-height:300px;\"><div class=\"w-100\"><div class=\"\"><span class=\"pix-badge-element d-inline-block mr-1 \"><span class=\"badge font-weight-bold bg-primary  \" style=\"font-size:22px; \"><span class=\"text-white\" style=\"\">Contact our experts!<\/span><\/span><\/span><\/div><h2 class=\"card-title font-weight-bold text-white pix-my-10\" style=\"\">Need some help with your microfluidic project?<\/h2><span class=\"d-flex align-items-center font-weight-bold text-light-opacity-6 text-20\"><span>We can make microfluidics easy for you!<\/span><i class=\"pixicon-angle-right pix-hover-right pix-hover-item pix-ml-10 font-weight-bold text-20\"><\/i><\/span><\/div><\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>In a world of laboratory automation where precision and control are paramount, syringe pumps serve as excellent tools for delivering precise volumes of liquid with accuracy and reproducibility. Among these pumps, the&nbsp;NE-1000&nbsp;syringe pump&nbsp;stands out for its robust performance and versatility.&nbsp;&hellip;<\/p>\n","protected":false},"author":4,"featured_media":23223,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_kc_parent_guide":"","_kc_products":"","_kc_type":"","_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[24,33],"tags":[],"class_list":["post-23221","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-flow-control","category-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Control your NE-1000 Syringe Pump with Python?<\/title>\n<meta name=\"description\" content=\"Control your NE-1000 Syringe Pump via Python using an RS-232 communications port: Optimize precision and efficiency effortlessly.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Control your NE-1000 Syringe Pump with Python?\" \/>\n<meta property=\"og:description\" content=\"Control your NE-1000 Syringe Pump via Python using an RS-232 communications port: Optimize precision and efficiency effortlessly.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Darwin Microfluidics\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-12T15:35:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-19T14:24:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/NE-1000.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"640\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Elia Missi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elia Missi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/\"},\"author\":{\"name\":\"Elia Missi\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/person\\\/c80a1276036340d7e994346f251af8f5\"},\"headline\":\"How to Control your NE-1000 Syringe Pump with Python?\",\"datePublished\":\"2024-04-12T15:35:39+00:00\",\"dateModified\":\"2026-11-19T14:24:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/\"},\"wordCount\":2830,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/NE-1000.jpg\",\"articleSection\":[\"Flow control\",\"Guides &amp; tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/\",\"name\":\"How to Control your NE-1000 Syringe Pump with Python?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/NE-1000.jpg\",\"datePublished\":\"2024-04-12T15:35:39+00:00\",\"dateModified\":\"2026-11-19T14:24:55+00:00\",\"description\":\"Control your NE-1000 Syringe Pump via Python using an RS-232 communications port: Optimize precision and efficiency effortlessly.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/NE-1000.jpg\",\"contentUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/NE-1000.jpg\",\"width\":640,\"height\":640,\"caption\":\"An image of a NE-1000 syringe pump with a white background.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/how-to-control-your-ne1000-syringe-pump-with-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Control your NE-1000 Syringe Pump with Python?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/\",\"name\":\"Blog\",\"description\":\"Our Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#organization\",\"name\":\"Darwin Microfluidics\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Darwin-Microfluidics-logo.png\",\"contentUrl\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Darwin-Microfluidics-logo.png\",\"width\":300,\"height\":90,\"caption\":\"Darwin Microfluidics\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/darwin-microfluidics\\\/\",\"https:\\\/\\\/darwin-microfluidics.com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/#\\\/schema\\\/person\\\/c80a1276036340d7e994346f251af8f5\",\"name\":\"Elia Missi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g\",\"caption\":\"Elia Missi\"},\"url\":\"https:\\\/\\\/blog.darwin-microfluidics.com\\\/author\\\/eliamissi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Control your NE-1000 Syringe Pump with Python?","description":"Control your NE-1000 Syringe Pump via Python using an RS-232 communications port: Optimize precision and efficiency effortlessly.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/","og_locale":"en_US","og_type":"article","og_title":"How to Control your NE-1000 Syringe Pump with Python?","og_description":"Control your NE-1000 Syringe Pump via Python using an RS-232 communications port: Optimize precision and efficiency effortlessly.","og_url":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/","og_site_name":"Darwin Microfluidics","article_published_time":"2024-04-12T15:35:39+00:00","article_modified_time":"2026-11-19T14:24:55+00:00","og_image":[{"width":640,"height":640,"url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/NE-1000.jpg","type":"image\/jpeg"}],"author":"Elia Missi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elia Missi","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/#article","isPartOf":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/"},"author":{"name":"Elia Missi","@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/person\/c80a1276036340d7e994346f251af8f5"},"headline":"How to Control your NE-1000 Syringe Pump with Python?","datePublished":"2024-04-12T15:35:39+00:00","dateModified":"2026-11-19T14:24:55+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/"},"wordCount":2830,"publisher":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#organization"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/NE-1000.jpg","articleSection":["Flow control","Guides &amp; tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/","url":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/","name":"How to Control your NE-1000 Syringe Pump with Python?","isPartOf":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/#primaryimage"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/NE-1000.jpg","datePublished":"2024-04-12T15:35:39+00:00","dateModified":"2026-11-19T14:24:55+00:00","description":"Control your NE-1000 Syringe Pump via Python using an RS-232 communications port: Optimize precision and efficiency effortlessly.","breadcrumb":{"@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/#primaryimage","url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/NE-1000.jpg","contentUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/NE-1000.jpg","width":640,"height":640,"caption":"An image of a NE-1000 syringe pump with a white background."},{"@type":"BreadcrumbList","@id":"https:\/\/blog.darwin-microfluidics.com\/how-to-control-your-ne1000-syringe-pump-with-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.darwin-microfluidics.com\/"},{"@type":"ListItem","position":2,"name":"How to Control your NE-1000 Syringe Pump with Python?"}]},{"@type":"WebSite","@id":"https:\/\/blog.darwin-microfluidics.com\/#website","url":"https:\/\/blog.darwin-microfluidics.com\/","name":"Blog","description":"Our Blog","publisher":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.darwin-microfluidics.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.darwin-microfluidics.com\/#organization","name":"Darwin Microfluidics","url":"https:\/\/blog.darwin-microfluidics.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/logo\/image\/","url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/02\/Darwin-Microfluidics-logo.png","contentUrl":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/02\/Darwin-Microfluidics-logo.png","width":300,"height":90,"caption":"Darwin Microfluidics"},"image":{"@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/darwin-microfluidics\/","https:\/\/darwin-microfluidics.com"]},{"@type":"Person","@id":"https:\/\/blog.darwin-microfluidics.com\/#\/schema\/person\/c80a1276036340d7e994346f251af8f5","name":"Elia Missi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aaae1cf6fd60bdd2785e730c1eef40d923b09eadd04f575148e3be51d2e1c35a?s=96&d=mm&r=g","caption":"Elia Missi"},"url":"https:\/\/blog.darwin-microfluidics.com\/author\/eliamissi\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/blog.darwin-microfluidics.com\/wp-content\/uploads\/2024\/04\/NE-1000.jpg","_links":{"self":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/23221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/comments?post=23221"}],"version-history":[{"count":264,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/23221\/revisions"}],"predecessor-version":[{"id":25624,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/posts\/23221\/revisions\/25624"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/media\/23223"}],"wp:attachment":[{"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/media?parent=23221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/categories?post=23221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.darwin-microfluidics.com\/wp-json\/wp\/v2\/tags?post=23221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}