Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
http://zone.ni.com/devzone/cda/pub/p/id/48
Document Type: Instrumentation Newsletter NI Supported: Yes Publish Date: Mar 24, 2011
Figure 1. The CIS algorithm implemented for student evaluation applies digital filters to decompose an input audio signal into frequency bands that are used to stimulate appropriate nerves. Working in NI LabVIEW, the students implemented a continuous interleaved sampling (CIS) algorithm with separate graphical, textual, and combined graphical-textual implementations (see Figure 1). Students worked on the text-based implementations in LabVIEW MathScript, a math-oriented textual programming language that is a built-in element of LabVIEW. MathScript offers an m-file script syntax that is generally compatible with The MathWorks, Inc. MATLAB software, COMSOL Script software from COMSOL AB, and others. Students Prefer Hybrid Programming Five criteria served as a basis for comparing the students preferences on graphical, textual, and hybrid approaches (see Table 1). Based on these criteria, the students consistently preferred the hybrid programming approach.
1 of 2
5/18/2011 6:03 PM
http://zone.ni.com/devzone/cda/pub/p/id/48
Table 1. Students considered five criteria in comparing graphical, textual, and hybrid (graphical with textual) programming approaches. The students preferences were not surprising; with the hybrid approach, they could combine the two approaches and benefit from the preferred aspects of both. Indeed, the students related that both graphical and textual approaches had virtues. For signal processing design, the graphical approach was more intuitive than text-based programming. The students also preferred graphical programming for its modularity, GUI features, and availability of built-in tools for signal processing. Students preferred the text-based approach for specifying algebraic equations, compact code size, and familiarity. With LabVIEW, students can work in a single development environment and choose a best fit approach, whether graphical, textual, or hybrid. Such flexibility along with comprehensive built-in signal processing functionality, a simplified GUI, and simplified access to live signals makes LabVIEW an ideal platform for signal processing education. Obtain more information about how you can apply LabVIEW to teach signal processing. This article first appeared in the Q1 2007 issue of Instrumentation Newsletter.
Legal This material is protected under the copyright laws of the U.S. and other countries and any uses not in conformity with the copyright laws are prohibited, including but not limited to reproduction, DOWNLOADING, duplication, adaptation and transmission or broadcast by any media, devices or processes.
2 of 2
5/18/2011 6:03 PM