{"id":22515,"date":"2017-10-17T08:03:01","date_gmt":"2017-10-17T15:03:01","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=22515"},"modified":"2023-01-09T08:36:36","modified_gmt":"2023-01-09T16:36:36","slug":"waveforms-vs-labforms-part-3-filtering-data","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/waveforms-vs-labforms-part-3-filtering-data\/","title":{"rendered":"WaveForms vs LabForms Part 3: Filtering Data"},"content":{"rendered":"<p>This is part 3 in my series comparing <a href=\"https:\/\/digilent.com\/shop\/waveforms-2015-download-only\/\">WaveForms<\/a> to its <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW<\/a> counterpart &#8220;LabForms&#8221;. Part <a href=\"https:\/\/digilent.com\/blog\/waveforms-vs-labforms-part-1-waveform-generator\/\">one<\/a> focused on the Waveform Generator, and part <a href=\"https:\/\/digilent.com\/blog\/waveforms-vs-labforms-part-2-the-oscilloscope\/\">two<\/a> focused on the Oscilloscope.<\/p>\n<p>Labforms works with LabVIEW 2014 or newer, and it allows you to\u00a0connect an\u00a0<a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\">Analog Discovery 2\u00a0<\/a>USB oscilloscope to LabVIEW. The LabVIEW code uses the\u00a0<a href=\"https:\/\/decibel.ni.com\/content\/docs\/DOC-44838\">LabVIEW driver for the Analog Discovery 2<\/a>,\u00a0which lets you access the Analog Scope and Waveform Generator\u00a0(WaveGen)\u00a0functionalities of the Analog Discovery with LabVIEW.<\/p>\n<p>Raw data does not always immediately convey useful information. Often, scientists and engineers must transform the signal, remove noise disturbances and compensate for environmental effects. For that reason, signal processing is a fundamental need in nearly all engineering applications. <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW<\/a>\u00a0and <a href=\"https:\/\/digilent.com\/shop\/waveforms-2015-download-only\/\">WaveForms <\/a>both give you the ability to filter data in real time.<\/p>\n<p>In LabVIEW, you will filter by using Express VIs. Users can interactively explore the various analysis algorithms settings, while immediately seeing the results in the configuration dialog. For example, the\u00a0Filter Express VI\u00a0provides tools to configure such digital filters as lowpass, highpass, bandpass, and bandstop. The configuration dialog for this Express VI provides controls to interactively configure filter settings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-22516 aligncenter\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/10\/delete-600x263.png\" alt=\"\" width=\"600\" height=\"263\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/10\/delete-600x263.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/10\/delete-768x336.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/10\/delete-800x350.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/10\/delete.png 872w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>In WaveForms, you can filter by adding a filter channel to your Oscilloscope tool.\u00a0Click on the\u00a0<em>Filter Button<\/em>\u00a0to open the settings. The filters tab\u00a0gives the option of a Chebychev, Butterworth, or custom filter. When Chebychev or Butterworth are selected, you can choose between 2nd and 16th order, Low pass, High pass, Band pass, or Bandstop, and one or two cutoff frequencies. When Chebychev is selected you can also choose the Eplison parameter. When custom is selected, the filter is determined from the table of coefficients.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21771 size-medium no-display appear aligncenter\" title=\"\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-600x414.png\" alt=\"\" width=\"600\" height=\"414\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-600x414.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-768x530.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-1024x706.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-800x552.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality.png 1169w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Thank you for reading this blog post; if you want to learn more, please check out our Instructable &#8220;<a href=\"http:\/\/www.instructables.com\/id\/Analog-Discovery-2-USB-Oscilloscope-LabVIEW2016-Up\/\">Analog Discovery 2 USB Oscilloscope + LabVIEW(2016 update)<\/a>&#8220;.\u00a0 If you are interested in testing LabForms out for yourself but don&#8217;t have the right supplies, you can purchase\u00a0LabVIEW 2014 home bundle\u00a0<a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">here<\/a>, and if you are a student the\u00a0<a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">Analog Discovery 2<\/a>\u00a0has an academic discount available. Please comment below with any questions or comments you may have.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-22515 jlk' data-task='like' data-post_id='22515' data-nonce='3c15ebf169' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-22515 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-22515 jlk' data-task='unlike' data-post_id='22515' data-nonce='3c15ebf169' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-22515 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-22515 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Take the next step with LabForms!<\/p>\n","protected":false},"author":42,"featured_media":22516,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4323,1563],"tags":[111,452],"ppma_author":[4493],"class_list":["post-22515","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-guide","tag-analog-discovery","tag-waveforms"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/10\/delete.png","authors":[{"term_id":4493,"user_id":42,"is_guest":0,"slug":"astanton","display_name":"Austin Stanton","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/056fddaefc60a1f99c226ea5757a8c41?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Stanton","last_name_2":"","first_name":"Austin","first_name_2":"","job_title":"","description":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/22515","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\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=22515"}],"version-history":[{"count":2,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/22515\/revisions"}],"predecessor-version":[{"id":29454,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/22515\/revisions\/29454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/22516"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=22515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=22515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=22515"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=22515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}