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

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


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Automating File Management With the LabVIEW DSP Test Integration Toolkit for TI DSP

5 ratings | 3.20 out of 5
Print

Overview

This tutorial explains how to use the LabVIEW DSP Test Integration Toolkit for TI DSP to automate routine file management tasks in Code Composer Studio.

Note: This toolkit is no longer officially supported by NI, but you can download the VIs that were included in this toolkit.

Automating Routine Tasks

The DSP Test Integration Toolkit allows you to automate the management of Code Composer Studio (CCS) files. With the toolkit you can open, close, compile and download project files. After downloading the code to the DSP device, you can run and halt the code.

Figure 1. DSP Test Integration Toolkit VIs used for Automation.

After you create and save code in CCS, you can build a VI in LabVIEW that sequences each of these processes, automating the handling of the code. Figure 2 shows a VI that opens a specified project file, compiles the file, downloads the corresponding .out file to the DSP device, and then runs the .out file on the DSP device.

[+] Enlarge Image
Figure 2. Simple automation of CCS functions

You can use the DSP Test Integration Toolkit VIs to create test systems that manage multiple project files. However, you must close or halt a project file on the DSP device for a second project file to execute properly.

Monitoring Project File Status


Finally, the DSP Test Integration Toolkit has built-in functionality to monitor the execution state of CCS from the front panel . To do this, simply create a string indicator on the front panel and then create a reference to the string indicator. Next, wire the reference directly to the CCS Open Project VI. The front panel string indicator displays the status of CCS as shown in Figure 3.

[+] Enlarge Image
Figure 3. Using the CCS Status String in a DSP File Management Sequence.

The attached example program is a good template for developing DSP test systems. The example program demonstrates the proper sequencing of VIs and how to use the CCS Status String.
Related Links:
Managing Code Composer Studio Files Using the LabVIEW DSP Test Integration Toolkit for TI DSP
DSP Communication Using RTDX
5 ratings | 3.20 out of 5
Print

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/).