{"id":1111,"date":"2020-02-10T13:25:51","date_gmt":"2020-02-10T12:25:51","guid":{"rendered":"http:\/\/www.netquote.it\/nqmain\/?p=1111"},"modified":"2026-06-25T12:08:33","modified_gmt":"2026-06-25T11:08:33","slug":"siglent-oscilloscope-usb-connection-linux-and-python","status":"publish","type":"post","link":"https:\/\/www.netquote.it\/nqmain\/2020\/02\/siglent-oscilloscope-usb-connection-linux-and-python\/","title":{"rendered":"Siglent oscilloscope USB connection Linux and Python"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Simple way to connect Siglent Oscilloscope to your Linux PC is PyVisa package and USB interface.<br \/>Install PyVisa lib for python: <a href=\"https:\/\/pyvisa.readthedocs.io\/en\/latest\/introduction\/getting.html\">https:\/\/pyvisa.readthedocs.io\/en\/latest\/introduction\/getting.html<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add permission for USB oscilloscope device:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo nano \/etc\/udev\/rules.d\/99-siglent.rules\nSUBSYSTEM==\"usb\", ATTR{idVendor}==\"f4ed\", ATTR{idProduct}==\"ee3a\", MODE=\"0666\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Python code to list connected devices and query for name:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import pyvisa\n\nrm = pyvisa.ResourceManager('@py')\nres_list = rm.list_resources()\nfor res in res_list:\n    print(res)\n    dev = rm.open_resource(res)\n    print(dev.query(\"*IDN?\"))<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Output looks like this: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>USB0::62701::60986::SDS1EDED3R1234::0::INSTR\nSiglent Technologies,SDS1202X-E,SDS1EDED3R1234,1.3.2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Screen capture command &#8220;SCDP&#8221; fall into some sort of packet structure error in &#8220;pyvisa-py&#8221; implementation.  <br \/>Issue on this thread: <a href=\"https:\/\/github.com\/pyvisa\/pyvisa\/issues\/458\">https:\/\/github.com\/pyvisa\/pyvisa\/issues\/458<\/a> <br \/>And this one: <a href=\"https:\/\/github.com\/pyvisa\/pyvisa-py\/issues\/20\">https:\/\/github.com\/pyvisa\/pyvisa-py\/issues\/20<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hmm&#8230;. not fully compatible USB interface. Similar issue for RIGOL oscilloscopes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple way to connect Siglent Oscilloscope to your Linux PC is PyVisa package and USB interface.Install PyVisa lib for python:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1111","post","type-post","status-publish","format-standard","hentry","category-senza-categoria","comments-off"],"_links":{"self":[{"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/posts\/1111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/comments?post=1111"}],"version-history":[{"count":2,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/posts\/1111\/revisions"}],"predecessor-version":[{"id":1113,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/posts\/1111\/revisions\/1113"}],"wp:attachment":[{"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/media?parent=1111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/categories?post=1111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/tags?post=1111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}