<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Raspberry Pico as USB test device - part 3: add an additional  SCPI query to get switch state</title><link>/products/raspberry-pi/b/blog/posts/raspberry-pico-as-usb-test-device---part-3-add-an-additional-scpi-query-to-get-switch-state</link><description>In this post, I add a new SCPI query to the USBTMC and SCPI compliant instrument I developed for the Pico.In the previous post, the device could switch outputs (or relays, ...) on or off with a SCPI command.I&amp;#39;m now adding a SCPI command to r...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Raspberry Pico as USB test device - part 3: add an additional  SCPI query to get switch state</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/raspberry-pico-as-usb-test-device---part-3-add-an-additional-scpi-query-to-get-switch-state</link><pubDate>Sun, 05 Feb 2023 00:15:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fca50615-d8f2-40b5-b1a1-7bf5cd27a616</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Using the LabVIEW VI driver I made for a similar design on a Pi (SCPI call compatible):&lt;/p&gt;
&lt;p&gt;[View:https://youtu.be/vEwMu3jCq38:1280:720]&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t change any part of the LabVIEW &amp;nbsp;flow or code, just selected the Pico from the VISA selection box.&lt;br /&gt;It popped up in the values because the instrument&amp;nbsp;implements&amp;nbsp;the USBTMC&amp;nbsp;profile.&lt;/p&gt;
&lt;p&gt;All VI blocks just worked.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25188&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Raspberry Pico as USB test device - part 3: add an additional  SCPI query to get switch state</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/raspberry-pico-as-usb-test-device---part-3-add-an-additional-scpi-query-to-get-switch-state</link><pubDate>Sat, 04 Feb 2023 19:32:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fca50615-d8f2-40b5-b1a1-7bf5cd27a616</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Food for thought:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The lab switch is limited to the amount of GPIOs the Pico has.&amp;nbsp;&lt;br /&gt;If you need a vast switch device, you could use a set of I/O port ICs with i2c (or other) interface (I use an NXP PCA9557 for the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="/technologies/test-and-measurement/w/documents/3267/programmable-electronic-load---input-enable-functionality"&gt;SCPI eLoad&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;An additional advantage is that you can then use an i2c isolator, and have galvanic isolation between the Pico (and its USB&amp;nbsp; and&amp;nbsp;the computer connected to it!) and the test circuit.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25188&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>