<?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>PST.. Experimental event / trigger support for Pico SCPI labTool - 1: investigate</title><link>/technologies/test-and-measurement/b/blog/posts/pst-experimental-event-trigger-support-for-pico-scpi-labtool</link><description>The Pico SCPI labTool (PST) allows you to connect your PC to equipment to control and monitor all sorts of things. It runs on a Raspberry Pico. It would be nice if the PST could supports device dependent SCPI registers. They can be used...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: PST.. Experimental event / trigger support for Pico SCPI labTool - 1: investigate</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-experimental-event-trigger-support-for-pico-scpi-labtool</link><pubDate>Fri, 15 Sep 2023 14:26:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:17f8f5fa-7df2-441c-a29f-0ee3430c80ac</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I got it working.I can set or clear a bit, and make it flow through the register hierarchy.&lt;br /&gt;The code I posted earlier in the comment is OK, and when I set up the right enable flags, the OPERATION bit in the STATUS BYTE is set.&lt;/p&gt;
&lt;p&gt;Set&amp;nbsp;that OPERATIONS bit in status byte is enabled:&lt;br /&gt;*SRE #H80&lt;/p&gt;
&lt;p&gt;Set that bit 0 of the OPERATIONS register&amp;nbsp; (the one I use for digital in event capture) causes u push up to STATUS register&lt;br /&gt;STAT:OPERation:ENABle #H01&lt;/p&gt;
&lt;p&gt;I documented before how I enable the user register bit 5 (a random choice) to capture a (faked) digital in pin 0 status change, and let it trickle through to OPERATIONS bit 0.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26851&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: PST.. Experimental event / trigger support for Pico SCPI labTool - 1: investigate</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-experimental-event-trigger-support-for-pico-scpi-labtool</link><pubDate>Thu, 14 Sep 2023 22:34:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:17f8f5fa-7df2-441c-a29f-0ee3430c80ac</guid><dc:creator>ggabe</dc:creator><slash:comments>2</slash:comments><description>&lt;p style="text-align:left;"&gt;i see&amp;nbsp;CFG_TUD_USBTMC_ENABLE_INT_EP is on, however i do nor&amp;nbsp;see how would we tickle the interrupt endpoint to fire in the current TMC profile code. How big is this - or perhaps a no issue?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26851&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: PST.. Experimental event / trigger support for Pico SCPI labTool - 1: investigate</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-experimental-event-trigger-support-for-pico-scpi-labtool</link><pubDate>Thu, 14 Sep 2023 13:59:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:17f8f5fa-7df2-441c-a29f-0ee3430c80ac</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I&amp;#39;ve set up a separate project to test out how I can let the scpi parser handle this.&lt;/p&gt;
&lt;p&gt;&lt;img height="147" src="/resized-image/__size/996x294/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-17f8f5fa-7df2-441c-a29f-0ee3430c80ac/pastedimage1694699849455v1.png" width="498" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is software only, running the &amp;quot;firmware&amp;quot; on my laptop. No Pico involved.&lt;br /&gt;Also the reason that I&amp;#39;m using Eclipse in this case. It&amp;#39;s set up for on-PC dev and debug.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26851&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: PST.. Experimental event / trigger support for Pico SCPI labTool - 1: investigate</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-experimental-event-trigger-support-for-pico-scpi-labtool</link><pubDate>Wed, 13 Sep 2023 20:37:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:17f8f5fa-7df2-441c-a29f-0ee3430c80ac</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&amp;nbsp;[mention:ef601b47037147bfb9b0b4a3ab63026a:e9ed411860ed4f2ba0265705b8793d05]&amp;nbsp;, you have experience with status registers (&lt;a id="" href="https://goughlui.com/2021/05/15/tutorial-understanding-the-scpi-status-model-with-pyvisa-examples/)" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;https://goughlui.com/2021/05/15/tutorial-understanding-the-scpi-status-model-with-pyvisa-examples/)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If I want to enable a user to listen to a digital pin change status, and if I want to flag that change in the status register(s),&lt;br /&gt;what would you expect to see?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What would be the way for the user to request this?&lt;/li&gt;
&lt;li&gt;What would be the way for the instrument to flag this?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The instrument supports 3 input pins, and I&amp;#39;m experimenting to implement notification&amp;nbsp;of their status change, if requested.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26851&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: PST.. Experimental event / trigger support for Pico SCPI labTool - 1: investigate</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-experimental-event-trigger-support-for-pico-scpi-labtool</link><pubDate>Wed, 13 Sep 2023 13:36:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:17f8f5fa-7df2-441c-a29f-0ee3430c80ac</guid><dc:creator>ggabe</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&amp;nbsp;[mention:acaf6a9338de4eef8f6717d5561ed01d:e9ed411860ed4f2ba0265705b8793d05]&amp;nbsp;could you re-link the NI article: &amp;ldquo;&lt;span&gt;NI&amp;#39;s &lt;/span&gt;&lt;a href="/technologies/test-and-measurement/b/blog/archive/2023/09/12/pst-experimental-event-trigger-support-for-pico-scpi-labtool/edit/Using%20Instrument%20Status%20Registers%20and%20Service%20Requests%20in%20LabVIEW" data-e14adj="y"&gt;Using Instrument Status Registers and Service Requests in LabVIEW&lt;/a&gt;&amp;rdquo; - seems to be broken.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26851&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: PST.. Experimental event / trigger support for Pico SCPI labTool - 1: investigate</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-experimental-event-trigger-support-for-pico-scpi-labtool</link><pubDate>Tue, 12 Sep 2023 22:47:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:17f8f5fa-7df2-441c-a29f-0ee3430c80ac</guid><dc:creator>ggabe</dc:creator><slash:comments>0</slash:comments><description>&lt;p style="text-align:left;"&gt;This is pure awesome! It was on my bucket list, very encouraging, you did great strides [emoticon:1435ff2429184e17bc948e4f19178e1e][emoticon:1435ff2429184e17bc948e4f19178e1e][emoticon:1435ff2429184e17bc948e4f19178e1e]&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26851&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>