multipyvu

raw JSON →
3.6.1 verified Fri May 01 auth: no python

Control MultiVu (for NanoString nCounter) using Python. Current version 3.6.1, requires Python >=3.7. Released irregularly; latest update 2023.

pip install multipyvu
error AttributeError: module 'multipyvu' has no attribute 'MultiVu'
cause Wrong import: import multipyvu instead of from multipyvu import MultiVu.
fix
Use: from multipyvu import MultiVu
error ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
cause MultiVu software not running or not listening on port 19003.
fix
Launch MultiVu application and ensure the Remote Control feature is enabled (default port 19003).
deprecated Some methods changed between 2.x and 3.x, e.g., 'set_pressure' now requires units parameter.
fix Update calls to include units: mv.set_pressure(100, unit='psi')
gotcha MultiVu must be running and listening on TCP port 19003 before connecting.
fix Start MultiVu software first, then run the Python script.
breaking Version 3.0.0 removed support for Python 3.6 and older, and changed the import path from 'multipyvu.multipyvu' to 'multipyvu'.
fix Update imports: from multipyvu import MultiVu

Connect to MultiVu and calibrate pressure.

from multipyvu import MultiVu
mv = MultiVu()
mv.calibrate_pressure()
print(mv.get_pressure())