Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: No
Publish Date: Apr 6, 2007

NI LabVIEW DSP Test Integration Toolkit

1 ratings | 5.00 out of 5
Print | PDF

Overview

This toolkit is no longer officially supported by NI, but you can download the VIs that were included in this toolkit (linked below).

With the LabVIEW DSP Test Integration Toolkit, design engineers now have a high-level tool for easily building test systems and utilities for their DSP system. By more easily integrating testing, engineers can iteratively verify their design throughout the design cycle, identifying flaws early in the process, reducing overall development time. In addition, the iterative testing process delivers a more robust product for the end customer. These tools help you more easily integrate testing into your system by:

  • Automating the standard Code Composer Studio routines such as building, downloading and running DSP code.
  • Communicating directly with your DSP through RTDX.

System Requirements
  • LabVIEW 7.0 Express, 7.1, or 8.0
  • TI Code Composer Studio 2.2 or later
  • TI DSP Development Device

    With the LabVIEW DSP Test Integration Toolkit, you can rapidly develop DSP test systems by automating the routine functions from Code Composer Studio. With a simple set of LabVIEW VIs, you can automate opening, compiling, downloading and running your DSP code.

    After you have written your code in Code Composer Studio, you can also use these VIs to automate file management, making it easier to develop a utility to handle multiple files without having to return to the Code Composer Studio IDE. Once the code is running, you can use other Memory VIs or RTDX VIs to send and receive data directly to and from your DSP system.

    To debug and verify proper behavior of your code, you can iteratively start and stop the code execution while reading and writing directly to memory locations that correspond to particular variables on your DSP. Although this process is one way to verify proper code execution, it does not provide a true picture of performance because you have to continuously start and stop your code.

    With RTDX, you incorporate "channels" inside your code that you can then communicate to without ever stopping the execution of your code. Because your code execution is never impacted, you get a much better understanding of how your code will respond when deployed.

    Through RTDX VIs and Memory VIs, you can easily communicate with your DSP code. You can send either scalar values (such as a gain factor) or arrays (such as a waveform or filter coefficients) by wiring the data directly to the RTDX or Memory Write VIs.

    Furthermore, you can use the LabVIEW Analysis VIs to generate any waveforms or filter coefficients and wire this data directly to RTDX or Memory Write VIs. Within the same VI you can use RTDX or Memory Read VIs to read any data from the DSP RTDX channels or memory locations internal to the DSP. Using RTDX or direct memory to send waveforms and using Analysis VIs from LabVIEW make it easy to understand how your DSP responds under different circumstances.

    After you have your test system configured for RTDX or direct memory interaction, you can easy integrate real-world signals with the LabVIEW programming environment. Simply replace RTDX or memory VIs with VIs for data acquisition or instrumentation such as waveform generators, copes, or switches, and you have a system that sends signals directly to your DSP device I/O ports with little modification to the overall program.

    By building a DSP test system with LabVIEW and the DSP Test Integration Toolkit, you can rapidly validate your DSP code using both simulated signals generated in LabVIEW and real-world signals generated by the hardware of your choice tightly integrated with LabVIEW. By using both real-world signals and simulated data through RTDX or direct memory, you can build your DSP system I/O points incrementally, migrating your RTDX channels into real I/O ports.


Related Resources

Downloads

lv_tidsp_toolkit.zip

lvtidsp.chm

datasheet_tidsp.pdf

1 ratings | 5.00 out of 5
Print | PDF

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). National Instruments does not support this tutorial or guarantee its quality in any way. THIS TUTORIAL 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/).