Skip to content

linnarsson-lab/MXII-valve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

MXII-valve

MX Series II actuated valve from Rheodyne, now IDEX.

Python module to control the MX Series II actuated valve over USB. Software was written susing the MX Series II(TM) Driver Development Package, File-1418039677, downloaded from here.

Get started

  • Make sure pyserial is installed.
  • Connect the valve with the provided USB cable.
  • Make sure the valve is in the "remote" operation mode. Press the the button on the front pannel if this is not the case. The LED should be on.
  • In a Python interpreter, import the module: import MXII_valve.
  • Find the USB address of the valve: valve_address = MXII_valve.find_address()[0]
  • The find_address() function returns a port object, where the first item contians the address in the format of COMX on Windows or dev/ttyUSBX on Linux. The address will also be printed.
  • It will also give you an ID nubmer for the FTDI chip inside the valve. This ID is unique to the valve and can be used to find the port quicker in the future by: MXII_valve.find_address(identifier = <ID>)
  • Initiate the valve: valve = MXII_valve.MX_valve(valve_address, ports=10, name='My_valve', verbose=True) Change the number of ports depending on your model.
  • Now the valve is ready for operation

Troubleshooting

Make sure the FTDI drivers are installed.
If you get an error that the valve is not properly connected. Please download the control software from the manufacturer. Connect to the valve with their software and try the Python code again.

Functions

The valve has two main functions:

  • Get the current port with: valve.get_port()
  • Change the port to a desired port, for example port 3: valve.change_port(3) The program will block untill the valve is ready for the next operation.

Citation

If this code is usefull for your work, please cite:
Borm et. al. (2023) Scalable in situ single-cell profiling by electrophoretic capture of mRNA using EEL FISH. Nature Biotechnology.

Disclaimer

This code was developed and tested on the MXX778-605 10-position, 11-port motorized low pressure valve. The code should work for other models but this is not tested. Furthermore, not all possible functionalities are implemented yet, refer to the manual to implement them. Please contribute to the project if you test other models or implement more functions.

About

MX Series II actuated valve

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages