Reference Example for Calculating the Derivative of a Signal in SignalExpress
Overview
Leveraging LabVIEW functionality in SignalExpress by calling a function within a LabVIEW source distribution.
Downloads
Filename: signal_express_deriv.zip
Requirements: View
Introduction:
SignalExpress has the capability of running VIs built in LabVIEW, compiled into a distribution (.LLB) library. This library will allow a VI to be called using only the LabVIEW runtime engine. This powerful feature is displayed in this example by implementing the mathematical derivative of a signal with respect to the time domain. Differentiation is not a native feature of Signal Express, but we are able to leverage LabVIEW features by running LabVIEW VIs within a SignalExpress project.
Directions:
- Open Acquire-and-Differentiate.seproj after installing Signal Express.
- Signal Express available for download from ni.com
- Click on the DAQmx Acquire Step on the left and select the Step Setup tab at the top.
- Set up the task to match your desired configuration.
- Channels in Task and their Acquisition Type (voltage, current, etc)
- Terminal Configuration
- Acquisition Mode
- Samples to Read
- Rate (Hz)
- Switch to the Data View tab.
- Click the Run Once button to execute the task; your signals will appear in the graph.
- The original signal is red
- The differentiated signal is yellow/green
- The acquisition and calculated points are represented by blue dots

**The accompanying code represents a very specific use case for NI products. For more general examples, please refer to ni.com/examples, the LabVIEW Example Finder, or the NI driver help files that come with every NI driver.
Requirements
Filename: signal_express_deriv.zip
Software Requirements
Application Software: LabVIEW SignalExpress 2.5
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
