Skip to main content

An unofficial package to control Vapourtec products; we are not affliated with Vapourtec.

Project description

vapourtec

An unofficial package to control Vapourtec products; we are not affliated with Vapourtec.

Supported devices:

Requires Windows operating system.

SF10 reagent pump

https://www.vapourtec.com/products/sf-10-pump-features/

Hardware check

The SF10 connects to a computer using a Serial cable. It is possible to use a Serial to USB converter to connect to the computer via USB.

The SF10 pump should have firmware v1.8 installed on it. To update the firmware on the pump, the file to update the pump must be on a USB stick and used to update the pump.

Remote control must also be enabled on the pump. To check this, use some software to communicate with the pump with RS-232. During development the program Termite was used. Connect to the pump in the program and send the following command to enable remote control of the pump: REMOTEEN vtec 1. You should receive an OK back from the pump if successful. This only has to be done once.

Once this is done, you can send the GV command to check the firmware version on the pump, and send REMOTEEN again to check that remote control is enabled

Getting started/example script

Check the examples folder for example script on how to use the SF10 module.

To connect to the pump in Python, you need to know the comport of the pump when it is connected to the computer. To know this, before plugging the pump into the computer open the Windows Device Manager program and expand Ports. Then plug in the pump and see what new port appears, e.g. COM6. This is what you will use to create the SF10 instance in Python to connect to and control the pump.

Graphical User Interface

A basic GUI is provided for simple control of a SF10 pump. To run this, you can run the main.py file in the gui/sf10 folder in Python. Or you can launch the standalone Windows executable (.exe) file without needing to use Python.

Serial settings and protocols

These are the settings and protocols from the manual.

Connection settings according to the manual are
+----------------------+---------------------------------------------+
| Parameter            | Comment                                     |
+----------------------+---------------------------------------------+
| Baud rate            | 9600                                        |
+----------------------+---------------------------------------------+
| Parity               | Not specified in manual, None is used       |
+----------------------+---------------------------------------------+
| Handshaking          | Not specified in manual, None is used       |
+----------------------+---------------------------------------------+
| Data bits            |  Not specified in manual, 8 is used         |
+----------------------+---------------------------------------------+
| Stop bits            |  Not specified in manual, 1 is used         |
+----------------------+---------------------------------------------+
| Physical connection  | Connect from PC to SF10 with a serial cable |
|                      | A straight, RS232, 9 pin serial cable will  |
|                      | be required. (Female to Female)             |
|                      | Use a USB to serial converter if the PC     |
|                      | has no built in serial connector.           |
|                      | Your PC will allocate a COM port number to  |
|                      | the serial port or the converter (if used). |
+----------------------+---------------------------------------------+
| Message Terminators  | Not specified in the manual, <CR> is used   |
+----------------------+---------------------------------------------+


Protocols are:
If a recognized command was sent to the pump OK will be sent back.
OK will still be sent back even if numerical parameters are out of
range and sent to the pump, even though the pump may not change to the set value.
Note that setting a value out of range causes the default parameter to be used.
+---------------+-------------------------+-----------------------------------+
| Sent by PC    | Parameter               | Description                       |
+---------------+-------------------------+-----------------------------------+
| START         |                         | Start pump                        |
+---------------+-------------------------+-----------------------------------+
| STOP          |                         | Stop pump                         |
+---------------+-------------------------+-----------------------------------+
| VALVE x       | x is A or B             | Select valve position x,          |
|               |                         | e.g. VALVE A, VALVE B             |
+---------------+-------------------------+-----------------------------------+
| MODE x        | x is FLOW or REG or     | Select pump mode x,               |
|               | DOSE or GAS or RAMP     | e.g. MODE FLOW, MODE REG          |
+---------------+-------------------------+-----------------------------------+
| SETFLOW x     | x is the flow rate in   | Sets flow rate to x mL/min, used  |
|               | mL/min                  | by FLOW and DOSE modes,           |
|               |                         | e.g. SETFLOW 5.0                  |
+---------------+-------------------------+-----------------------------------+
| SETGASFLOW x  | x is the gas flow       | Sets gas flow rate to x ssc/min,  |
|               | rate  in ssc/min        | used by GAS modes,                |
|               |                         | e.g. SETGASFLOW 50.0              |
+---------------+-------------------------+-----------------------------------+
| SETREG X      | x is the pressure in    | Sets regulator mode pressure to   |
|               | bar                     | x bar, used by REGULATOR mode     |
|               |                         | e.g. SETREG 4.0                   |
+---------------+-------------------------+-----------------------------------+
| SETDOSE X     | x is the dose volume    | Sets dose volume in mL/min,used   |
|               | in mL/min               | by DOSE mode,                     |
|               |                         | e.g. SETDOSE 20.0                 |
+---------------+-------------------------+-----------------------------------+
| SETRAMP x y z | x is the start speed    | Sets ramp speed from x mL/min to  |
|               | in mL/min, y is the     | y mL/min over z minutes,          |
|               | final speed in mL/min,  | e.g. SETRAMP 1 2 10               |
|               | z is time in minutes    |                                   |
+---------------+-------------------------+-----------------------------------+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

vapourtec-1.1.3-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file vapourtec-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: vapourtec-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for vapourtec-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 921835bd3be6df426ef784bd89469f7a16d29a65eac0a3f5b5c42e2e72eb1d63
MD5 23a99bcce692b2b93c1146becb97abf9
BLAKE2b-256 09d54fa7085dd82b3482b732f8750fce4018019cacf72522f359f2f904b16434

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page