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

Building, Downloading, and Running a DSP Application (DSP Module)

LabVIEW 8.6 DSP Module Help
June 2008

NI Part Number:
371300D-01

»View Product Info

Click the Run button to build, download, and run the DSP application on the DSP target.

Note  Make sure the VI is open in a DSP application instance before clicking the Run button.

When you build a DSP VI for a DSP target, the DSP Module translates the DSP VI into target-native code, initiates the execution of the code on the DSP target, and maintains a communication link with the host computer to support updating the front panel window. The DSP Module uses the same process when you download a DSP application to flash memory on the DSP target.

How It Works

The DSP Module maintains the C run-time environment on the DSP target and provides support for run-time functions through the appropriate DSP libraries. When you click the Run button, the DSP Module performs the following actions:

  1. Analyzes the DSP VI for unsupported configurations. For example:
  2. Allocates the necessary memory blocks on the DSP target for variables you use. This is the data segment of the code.
  3. Generates the instructions for function operations in the program section of the code. This is the text segment of the code.
  4. Links calls to the appropriate DSP libraries from standard object files.
  5. Downloads the DSP application, which is now target-native code linked with the appropriate DSP libraries, to the DSP target as a binary image. The communication interface depends on the DSP target. In general, DSPs typically use JTAG, SPI (serial peripheral interface), or an external memory bus. Many DSPs now have USB adaptors. The DSP targets the DSP Module supports use the following communication interfaces:
    • 6416 DSK uses a USB connector to a JTAG emulator on the board.
    • 6711 DSK uses a parallel port on the board.
    • 6713 DSK uses a USB connector to a JTAG emulator on the board.
    • SPEEDY-33 uses a USB connector to an SPI adaptor on the board.
  6. Transfers execution control to the code on the DSP target. When the DSP application is running on the DSP target, the DSP Module scans the allocated memory blocks to update the front panel controls and indicators.
Tip Tip  You can temporarily suspend the front panel window updates.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit