{"id":13362,"date":"2022-08-25T12:56:20","date_gmt":"2022-08-25T12:56:20","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=13362"},"modified":"2022-08-25T15:31:43","modified_gmt":"2022-08-25T15:31:43","slug":"test-measurement-tm-sicl-scpi-and-visa","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=13362","title":{"rendered":"Test &#038; Measurement (T&#038;M): SICL, SCPI and VISA"},"content":{"rendered":"<ul>\n<li>SICL: Standard Instrument Control Library<\/li>\n<li>SCPI: Standard Commands for Programmable Instruments<\/li>\n<li>VISA: Virtual Instrument Software Architecture<\/li>\n<li>LXI: Lan eXtensions for Instrumentation<\/li>\n<\/ul>\n<ul>\n<li>Die moderne Alternative zum virtuellen COM Port (VCP) istdie Ansteuerung mit Hilfe der USB-TMC-Klasse. TMC stehtdabei f\u00fcr die \u201eTest &#038; Measurement Class&#8221; und bedeutet,dass bei installierten VISA-Treibern das angeschlosseneMessger\u00e4t ohne spezielle Windows-Treiber erkannt wirdund in den entsprechenden Umgebungen direkt verwendetwerden kann<\/li>\n<li>Bei der klassischen Variante des VCP kann der Anwendernach Installation der entsprechenden Windows-Treiber miteinem beliebigen Terminal-Programm \u00fcber SCPI-Komman-dos mit dem HMC kommunizieren<\/li>\n<\/ul>\n<p><a href=\"https:\/\/de.wikipedia.org\/wiki\/Standard_Commands_for_Programmable_Instruments\">Standard Commands for Programmable Instruments (SCPI)<\/a><br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Virtual_instrument_software_architecture\">Virtual instrument software architecture (VISA)<\/a>, IVI Foundation<\/p>\n<p><!-- -------------------------------------------------------------------------------------------- --><\/p>\n<hr\/>\n<h1>Rohde&#038;Schwarz<\/h1>\n<p><a href=\"https:\/\/www.rohde-schwarz.com\/ch\/driver-pages\/fernsteuerung\/measurements-synchronization_231248.html\">Measurement Synchronization<\/a>, <code>*OPC?<\/code><br \/>\n<a href=\"https:\/\/www.rohde-schwarz.com\/ch\/driver-pages\/fernsteuerung\/3-visa-and-tools_231388.html\">VISA and VISA Tools<\/a><\/p>\n<p><!-- -------------------------------------------------------------------------------------------- --><\/p>\n<hr\/>\n<h1>Tutorials<\/h1>\n<p><a href=\"https:\/\/tomverbeure.github.io\/2020\/06\/07\/Making-Sense-of-Test-and-Measurement-Protocols.html\">Making Sense of Test and Measurement Protocols<\/a><\/p>\n<p><!-- -------------------------------------------------------------------------------------------- --><\/p>\n<hr\/>\n<h1>Questions<\/h1>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/69967774\/valueerror-could-not-locate-a-visa-implementation-install-either-the-ivi-binar\">ValueError: Could not locate a VISA implementation. Install either the IVI binary or pyvisa-py<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/30725746\/is-it-normal-to-wait-for-some-time-between-operations-under-the-visa-protocol\">Is it normal to wait for some time between operations under the VISA protocol?<\/a><\/p>\n<p><!-- -------------------------------------------------------------------------------------------- --><\/p>\n<hr\/>\n<h1>Python<\/h1>\n<p><a href=\"https:\/\/pyvisa.readthedocs.io\/en\/latest\/index.html\">PyVISA: Control your instruments with Python<\/a><br \/>\n<a href=\"https:\/\/pypi.org\/project\/easy-scpi\/\">Easy SCPI<\/a><br \/>\n<a href=\"https:\/\/goughlui.com\/2021\/03\/28\/tutorial-introduction-to-scpi-automation-of-test-equipment-with-pyvisa\/\">Tutorial: Introduction to SCPI Automation of Test Equipment with pyvisa<\/a><br \/>\n<a href=\"https:\/\/magna-power.com\/de\/learn\/kb\/instrumentation-programming-with-python\">Instrumentation Programming with Python<\/a><\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nimport pyvisa\r\nrm = pyvisa.ResourceManager()\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nTraceback (most recent call last):\r\n  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;\r\n  File &quot;C:\\Users\\bacr\\Miniconda3\\envs\\PowerSupply\\lib\\site-packages\\pyvisa\\highlevel.py&quot;, line 2992, in __new__\r\n    visa_library = open_visa_library(visa_library)\r\n  File &quot;C:\\Users\\bacr\\Miniconda3\\envs\\PowerSupply\\lib\\site-packages\\pyvisa\\highlevel.py&quot;, line 2899, in open_visa_library\r\n    wrapper = _get_default_wrapper()\r\n  File &quot;C:\\Users\\bacr\\Miniconda3\\envs\\PowerSupply\\lib\\site-packages\\pyvisa\\highlevel.py&quot;, line 2858, in _get_default_wrapper\r\n    raise ValueError(\r\nValueError: Could not locate a VISA implementation. Install either the IVI binary or pyvisa-py.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>SICL: Standard Instrument Control Library SCPI: Standard Commands for Programmable Instruments VISA: Virtual Instrument Software Architecture LXI: Lan eXtensions for Instrumentation Die moderne Alternative zum virtuellen COM Port (VCP) istdie Ansteuerung mit Hilfe der USB-TMC-Klasse. TMC stehtdabei f\u00fcr die \u201eTest &#038; Measurement Class&#8221; und bedeutet,dass bei installierten VISA-Treibern das angeschlosseneMessger\u00e4t ohne spezielle Windows-Treiber erkannt wirdund [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13362","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/13362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13362"}],"version-history":[{"count":7,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/13362\/revisions"}],"predecessor-version":[{"id":13369,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/13362\/revisions\/13369"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}