Skip to content
/ vwr Public
forked from numat/polyscience

Web interface and Python bindings for VWR circulating baths.

License

Notifications You must be signed in to change notification settings

hamzanasir/vwr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vwr

Web interface and Python bindings for VWR circulating baths.

This was created to support older circulating baths (before touch screen models). These older devices have ethernet ports, but only support serial communication over UDP. This code provides the missing web interface by translating browser interaction into serial commands.

Installation

pip install vwr

If you don't like pip, you can also install from source:

git clone https://github.com/numat/vwr
cd vwr
python setup.py install

Usage

Web Server

For temperature control models without a built-in web interface, this provides the same functionality. Run the server with:

vwr [ip-address]

This should open a browser to http://localhost:50000/. Temperatures can be set by clicking on and overwriting the displayed setpoint.

You can set a password with vwr [ip] --set-password, and serve a login page with vwr [ip] --require-login. For more, check out the help with vwr --help.

Python

For complex interaction, use this as part of a Python script.

from vwr import CirculatingBath
bath = CirculatingBath("192.168.1.100")
print(bath.get_setpoint())

Only some functionality is currently implemented. We will expand this as needed.

About

Web interface and Python bindings for VWR circulating baths.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.4%
  • JavaScript 9.5%
  • CSS 7.1%