{"id":24462,"library":"python-vxi11","title":"python-vxi11","description":"A Python driver for controlling instruments over Ethernet using the VXI-11 protocol. It allows remote control of oscilloscopes, power supplies, and other test equipment. Current version 0.9, released periodically.","status":"active","version":"0.9","language":"python","source_language":"en","source_url":"https://github.com/python-ivi/python-vxi11","tags":["vxi-11","instrument control","ethernet","test equipment","python-ivi"],"install":[{"cmd":"pip install python-vxi11","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Importing Instrument directly from vxi11 fails; you must import the vxi11 module and reference vxi11.Instrument.","wrong":"from vxi11 import Instrument","symbol":"Instrument","correct":"import vxi11; instr = vxi11.Instrument('hostname')"}],"quickstart":{"code":"import vxi11\ninstr = vxi11.Instrument('192.168.1.10')\nprint(instr.ask('*IDN?'))\ninstr.close()","lang":"python","description":"Connect to an instrument and query its identity."},"warnings":[{"fix":"Wrap the first command in a try block to catch timeouts or connection errors.","message":"The constructor 'vxi11.Instrument(host, ...)' does not raise an exception on connection failure immediately; errors may occur on first command.","severity":"gotcha","affected_versions":"all"},{"fix":"Pass timeout in milliseconds, e.g., timeout=5000 for 5 seconds.","message":"Timeout parameter is in milliseconds, not seconds. Default is 10000 (10 seconds).","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'instr.write('*IDN?\\n')' then 'instr.read()' if needed.","message":"The 'ask()' method sends a command and reads response; it does not include a trailing newline. For commands that require termination, use 'write()' explicitly with '\\n'.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'-11':15,35 '0.9':31 'allow':18 'control':8,20,37 'current':29 'driver':6 'equip':28,40 'ethernet':11,38 'instrument':9,36 'ivi':43 'oscilloscop':22 'period':33 'power':23 'protocol':16 'python':2,5,42 'python-ivi':41 'python-vxi11':1 'releas':32 'remot':19 'suppli':24 'test':27,39 'use':12 'version':30 'vxi':14,34 'vxi11':3","created_at":"2026-05-01T08:13:11.837596+00:00","updated_at":"2026-05-01T08:13:11.837596+00:00","problems":[{"fix":"Run 'pip install python-vxi11' and ensure the correct Python environment.","cause":"The library is not installed.","error":"ModuleNotFoundError: No module named 'vxi11'"},{"fix":"Use 'import vxi11' and then reference 'vxi11.Instrument()'.","cause":"Importing 'Instrument' directly from vxi11 (e.g., 'from vxi11 import Instrument').","error":"AttributeError: module 'vxi11' has no attribute 'Instrument'"},{"fix":"Verify network connectivity and increase timeout (milliseconds).","cause":"Instrument unreachable or wrong IP/hostname, or timeout too short.","error":"vxi11.Vxi11Error: VXI-11 connection timeout"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.9","cli_name":"","cli_version":null,"type":"library","homepage":"http://alexforencich.com/wiki/en/python-vxi11/start","github":"http://github.com/python-ivi/python-vxi11","docs":null,"changelog":null,"pypi":"https://pypi.org/project/python-vxi11/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","http-networking","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}