<?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>Create a Programmable Instrument with SCPI - Part 1: Parser Library</title><link>/members-area/personalblogs/b/blog/posts/create-a-programmable-instrument-with-scpi---part-1-parser-library</link><description>For a hardware evaluation project I&amp;#39;m working on, I want to create a device that can be controlled via LabVIEW.LabVIEW can talk to instruments using serial out of the box, and it knows how to talk Standard Commands for Programmable Instruments ( S...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Create a Programmable Instrument with SCPI - Part 1: Parser Library</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/create-a-programmable-instrument-with-scpi---part-1-parser-library</link><pubDate>Sat, 01 Oct 2016 14:02:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aaa8ee77-3c04-417d-b592-efa648d5fde7</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ve finished what I wanted to have. Full control of PWM signals with LabVIEW.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The design can independently control 7 double PWM modules.&lt;/p&gt;&lt;p&gt;Each module can have in-sync or complementary signals. The duty cycle of both signals can be controlled independently.&lt;/p&gt;&lt;p&gt;I can set a deadband on either of the two signals - with different times.&lt;/p&gt;&lt;p&gt;In LabVIEW, you can select one of the seven PMW modules, set the parameters and configure the device.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here&amp;#39;s a capture:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x250/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-aaa8ee77-3c04-417d-b592-efa648d5fde7/7446.contentimage_5F00_185991.png:620:250]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The signals on the scope are the two outputs of PWM module 1.&lt;/p&gt;&lt;p&gt;Both are at 50% duty cycle.&lt;/p&gt;&lt;p&gt;There&amp;#39;s an asymmetric deadband applied. It&amp;#39;s longer for the rising edge of the blue signal. (The purple trace shows the deadband).&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2014&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Create a Programmable Instrument with SCPI - Part 1: Parser Library</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/create-a-programmable-instrument-with-scpi---part-1-parser-library</link><pubDate>Sun, 25 Sep 2016 17:51:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aaa8ee77-3c04-417d-b592-efa648d5fde7</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;added &lt;a class="jive-link-blog-small" href="https://www.element14.com/community/people/jancumps/blog/2016/09/25/create-a-programmable-instrument-with-scpi-part-5-first-hardware-commands"&gt;Create a Programmable Instrument with SCPI - Part 5: First Hardware Commands&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It&amp;#39;s getting real now.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2014&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Create a Programmable Instrument with SCPI - Part 1: Parser Library</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/create-a-programmable-instrument-with-scpi---part-1-parser-library</link><pubDate>Sun, 25 Sep 2016 15:08:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aaa8ee77-3c04-417d-b592-efa648d5fde7</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This isn&amp;#39;t spectacular yet, but I have the first command working:&lt;/p&gt;&lt;p&gt;Turn on or off PWM channel 1:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=PWM1%3ASTATe+ON%0APWM1%3ASTATe+OFF]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/960x540/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-aaa8ee77-3c04-417d-b592-efa648d5fde7/contentimage_5F00_185990.gif:960:540]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2014&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Create a Programmable Instrument with SCPI - Part 1: Parser Library</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/create-a-programmable-instrument-with-scpi---part-1-parser-library</link><pubDate>Sat, 24 Sep 2016 09:48:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aaa8ee77-3c04-417d-b592-efa648d5fde7</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ve posted &lt;a class="jive-link-blog-small" href="https://www.element14.com/community/people/jancumps/blog/2016/09/24/create-a-programmable-instrument-with-scpi-part-3-error-handling-by-default"&gt;Create a Programmable Instrument with SCPI - Part 4: Error Handling by Default&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It shows how the open source SCPI library supports extendable error handling by default.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2014&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Create a Programmable Instrument with SCPI - Part 1: Parser Library</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/create-a-programmable-instrument-with-scpi---part-1-parser-library</link><pubDate>Mon, 19 Sep 2016 15:34:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aaa8ee77-3c04-417d-b592-efa648d5fde7</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ve posted part 3: &lt;a class="jive-link-blog-small" href="https://www.element14.com/community/people/jancumps/blog/2016/09/19/create-a-programmable-instrument-with-scpi-part-3-first-conversationidn"&gt;Create a Programmable Instrument with SCPI - Part 3: First Conversation *IDN?&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;With source code. This concludes the pure software and infrastructure part. I can start implementing real functions that do something electronically (PWM generation)&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2014&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Create a Programmable Instrument with SCPI - Part 1: Parser Library</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/create-a-programmable-instrument-with-scpi---part-1-parser-library</link><pubDate>Sun, 18 Sep 2016 08:30:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aaa8ee77-3c04-417d-b592-efa648d5fde7</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ve posted part 2: &lt;a class="jive-link-blog-small" href="https://www.element14.com/community/people/jancumps/blog/2016/09/17/create-a-programmable-instrument-with-scpi-part-2-serial-over-usb"&gt;Create a Programmable Instrument with SCPI - Part 2: Serial over USB&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2014&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Create a Programmable Instrument with SCPI - Part 1: Parser Library</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/create-a-programmable-instrument-with-scpi---part-1-parser-library</link><pubDate>Sat, 17 Sep 2016 19:41:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aaa8ee77-3c04-417d-b592-efa648d5fde7</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice post Jan.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I had always been interested in using something like labview, but just never got around to it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The systems designs I had been doing were at a scale much larger than anything like labview was intended to support.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I will be following along with great interest.&amp;nbsp; You just never know when you learn something important.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2014&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>