{"id":30216,"date":"2023-10-13T13:57:15","date_gmt":"2023-10-13T20:57:15","guid":{"rendered":"https:\/\/digilent.com\/blog\/?p=30216"},"modified":"2023-10-23T13:55:14","modified_gmt":"2023-10-23T20:55:14","slug":"scope-to-digital-interpreting-analog-input-signals-as-digital-signals-in-waveforms-3-21-2","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/scope-to-digital-interpreting-analog-input-signals-as-digital-signals-in-waveforms-3-21-2\/","title":{"rendered":"Scope to Digital \u2013 Interpreting Analog Input Signals as Digital Signals in WaveForms 3.21.2"},"content":{"rendered":"<p><em>This blog post goes over one of several new features we\u2019re announcing as part of the WaveForms 3.21 release.\u00a0<\/em><\/p>\n<p>&nbsp;<\/p>\n<h4><span data-contrast=\"auto\">New Feature: Scope to Digital<\/span><\/h4>\n<p><span data-contrast=\"auto\">We\u2019re introducing the \u201cScope to Digital\u201d feature, which allows you to interpret captured analog signals as digital signals when using the Scope instrument\u2019s Digital view. The Scope to Digital feature is supported by all of Digilent\u2019s WaveForms-compatible Test and Measurement devices, from the original Analog Discovery through to the Analog Discovery Pro 5000-series and Eclypse Z7.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/uart-600x319.png\" alt=\"\" width=\"600\" height=\"319\" class=\"alignnone size-medium wp-image-30217\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/uart-600x319.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/uart-1024x544.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/uart.png 1280w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span data-contrast=\"auto\">Stepping back a second, if you haven\u2019t seen the Digital view before, check out the image below. This is an extra pane that can be added into the Scope instrument. It allows you to use the digital and analog inputs next to each other on the same screen, with the same triggers. Changes to time base and position are applied to both charts, so whenever you zoom in on a particularly interesting region of a signal, you don\u2019t need to fiddle around to get everything to line up correctly.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/walkthrough-600x319.png\" alt=\"\" width=\"600\" height=\"319\" class=\"alignnone size-medium wp-image-30218\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/walkthrough-600x319.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/walkthrough-1024x544.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/walkthrough.png 1280w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><span data-contrast=\"auto\">In the image above, we can see: (1) The button to enable the Digital view, which takes up the bottom half of the window. (2) The dialog to add channels to the Digital view, in this case, \u201cSignal\u201d was selected to add only a single-bit signal to the plot. And (3), the checkbox to enable Scope to Digital.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h4><span data-contrast=\"auto\">What Else Can the Digital View Do? <\/span><\/h4>\n<p><span data-contrast=\"auto\">What else can the Digital view do? It<\/span><span data-contrast=\"auto\"> implements many of the same features as the Logic Analyzer, integrating them in with the Scope instrument. All familiar types of signals are supported \u2013 single-bit signals, buses, SPI, I2C, and UART interfaces, in addition to many other standard and custom protocols. All the familiar digital trigger functionality, including pulse triggers and protocol triggers (like triggering on ), from the Logic Analyzer instrument is supported for true digital inputs. When a digital trigger is used, the analog inputs are automatically set up to trigger at the same time.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Here, we can see a UART line being decoded with Scope to Digital. An additional synchronized pulse is used to keep the trigger stable.<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/types-of-signals-600x319.png\" alt=\"\" width=\"600\" height=\"319\" class=\"alignnone size-medium wp-image-30219\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/types-of-signals-600x319.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/types-of-signals-1024x544.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/types-of-signals.png 1280w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/p>\n<h4><\/h4>\n<p>&nbsp;<\/p>\n<h4><span data-contrast=\"auto\">What is Scope to Digital? <\/span><\/h4>\n<p><span data-contrast=\"auto\">so, what is Scope to Digital? When enabled, WaveForms application will digitize all enabled analog inputs in software and allow them to be added to the Digital view. This is why we are allowed to select \u201cScC1\u201d, Scope Channel 1, in the Add signal dialog.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">There\u2019s more to it, threshold voltages used to digitize the signals are configurable \u2013 meaning that many different logic standards can be supported, potentially even those beyond the normal capability of your device\u2019s digital inputs. This could include CAN signals, 15 V RS-232 signals using the UART protocol, and RS-485 signals, for a few examples. Because thresholds are individually configurable per channel, you can even mix-and-match.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">See how to configure logic thresholds by following the red arrow in the image below. Click the \u201cScope to Digital\u201d button, then set a threshold in the dialog. In this example, we can compare the Scope plot to the Digital plot \u2013 only the pulses that exceed the 2 V threshold are digitized as \u201cone\u201ds.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/threshold-600x319.png\" alt=\"\" width=\"600\" height=\"319\" class=\"alignnone size-medium wp-image-30220\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/threshold-600x319.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/threshold-1024x544.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/threshold.png 1280w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/p>\n<p><span data-contrast=\"auto\">There\u2019s one important caveat. Because the analog to digital conversion is implemented in software, digitized analog inputs cannot be used for digital triggering. That said, you can always still pass the same signal to both a digital input and an analog input simultaneously as long as that signal is compatible with both of those inputs. Software digitization removes the hassle of wiring up two inputs in situations where you have other trigger sources.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">With all that, check out this short clip, showing the previous example in motion. As the threshold voltage used to digitize Scope Channel 1 is lowered, more and more pulses appear in the Digital view.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<div style=\"width: 735px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-30216-1\" width=\"735\" height=\"390\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/Threshold.mp4?_=1\" \/><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/Threshold.mp4\">https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/Threshold.mp4<\/a><\/video><\/div>\n<p>&nbsp;<\/p>\n<h4>Try it Yourself!<\/h4>\n<p><span data-contrast=\"auto\">You can download the latest version and check out Scope to Digital today, by navigating to the <\/span><a href=\"https:\/\/digilent.com\/reference\/software\/waveforms\/waveforms-3\/start\"><span data-contrast=\"none\">WaveForms Resource Center<\/span><\/a><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">WaveForms 3.21.2 adds a couple other new features. Check out some more posts describing them, here: <\/span><a href=\"https:\/\/digilent.com\/blog\/analog-input-filters-reducing-noise-in-acquired-analog-signals\/\"><span data-contrast=\"none\">Analog Input Filters \u2013 Reducing Noise in Acquired Analog Signals<\/span><\/a><span data-contrast=\"auto\">, <\/span><a href=\"https:\/\/digilent.com\/blog\/limiting-the-scope-of-a-measurement-with-extent-for-measurements-in-waveforms\/\"><span data-contrast=\"auto\">Extent for Measurements<\/span><\/a><i><span data-contrast=\"auto\">.<\/span><\/i><span data-contrast=\"auto\"> For a full list of changes, check out the change log on our Reference site: <\/span><a href=\"https:\/\/digilent.com\/reference\/software\/waveforms\/waveforms-3\/change-logs\/3-21-2\"><span data-contrast=\"none\">WaveForms 3.21.2 Changelog<\/span><\/a><i><span data-contrast=\"auto\">.<\/span><\/i><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;469777462&quot;:[450],&quot;469777927&quot;:[0],&quot;469777928&quot;:[1]}\">\u00a0<\/span><\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-30216 jlk' data-task='like' data-post_id='30216' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-30216 lc'>+2<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-30216 jlk' data-task='unlike' data-post_id='30216' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-30216 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-30216 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>This blog post goes over one of several new features we\u2019re announcing as part of the WaveForms 3.21 release.\u00a0 &nbsp; New Feature: Scope to Digital We\u2019re introducing the \u201cScope to &hellip; <\/p>\n","protected":false},"author":52,"featured_media":30217,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,4323],"tags":[4560,4561,4562,4512,4559,4563,452,4557,4558],"ppma_author":[4462],"class_list":["post-30216","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-products","category-software","tag-digital","tag-digital-view","tag-logic-analyzer","tag-scope","tag-scope-to-digital","tag-uart","tag-waveforms","tag-waveforms-update","tag-waveforms3-21"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2023\/10\/uart.png","authors":[{"term_id":4462,"user_id":52,"is_guest":0,"slug":"abrown","display_name":"Arthur Brown","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/0157dde33e86ff2f253098657a5a774e?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Brown","last_name_2":"","first_name":"Arthur","first_name_2":"","job_title":"","description":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/30216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=30216"}],"version-history":[{"count":5,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/30216\/revisions"}],"predecessor-version":[{"id":30282,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/30216\/revisions\/30282"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/30217"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=30216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=30216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=30216"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=30216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}