LabVIEW DSP Test Integration Toolkit for TI DSP



Similar documents
LABVIEW DSP TEST TOOLKIT FOR TI DSP

Getting Started with the LabVIEW Mobile Module Version 2009

Getting Started with the LabVIEW Mobile Module

LabVIEW Report Generation Toolkit for Microsoft Office

LabVIEW Report Generation Toolkit for Microsoft Office User Guide

LabVIEW Internet Toolkit User Guide

DSP Laboratory: Analog to Digital and Digital to Analog Conversion

Lab 3: Introduction to Data Acquisition Cards

SignalExpress. Getting Started with SignalExpress. Getting Started with SignalExpress. August 2004 Edition Part Number A-01

Distance-Learning Remote Laboratories using LabVIEW

Using the NI 17xx Smart Camera Direct Drive Lighting Controller

NI Real-Time Hypervisor for Windows

GETTING STARTED WITH LABVIEW POINT-BY-POINT VIS

DAQ Getting Started Guide

Measurement Studio. Contents RELEASE NOTES

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW

System Overview and Terms

Getting Started with the LabVIEW Embedded Module for ARM Microcontrollers 1.0 For the Keil MCB2300

NI PXI Installing Your PXI Board INSTALLATION GUIDE

Getting Started Manual

Coupling Microsoft Visio with NI Requirements Gateway

NI InsightCM Server Version 1.0

Code Composer Studio Development Tools v3.3. Getting Started Guide

Cell Phone Vibration Experiment

Code Composer Studio Getting Started Guide

EET 310 Programming Tools

NI-DAQ mx Base 3.x. Contents GETTING STARTED GUIDE

Data Acquisition Using NI-DAQmx

Coupling Microsoft Excel with NI Requirements Gateway

Hands-On: Introduction to Object-Oriented Programming in LabVIEW

NI 6601/6602. Contents CALIBRATION PROCEDURE. ni.com/manuals

LabVIEW Lesson 5 Clusters

NI-XNET Hardware and Software

FIELDPOINT BUS EXTENDER CABLE

DATRAN RTU Data Logging

The 104 Duke_ACC Machine

Developing applications under CODE COMPOSER STUDIO

Using NI CompactDAQ Controllers

Lab View with crio Tutorial. Control System Design Feb. 14, 2006

Tutorial: Packaging your server build

NI NI C Series Overview DATASHEET. 8-Channel Sinking Digital Input Module

Three Levels of Data-Logging Software from National Instruments

Getting Started with the NI LabVIEW Embedded Module for ARM Microcontrollers

LabVIEWTM. Robotics Programming Guide for the FIRST Robotics Competition. LabVIEW Robotics Programming Guide for FRC. January D-01

Managing Code Development Using CCS Project Manager

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

Exercise 10: Basic LabVIEW Programming

Lab 4 - Data Acquisition

EE289 Lab Fall LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink

LabVIEW Advanced Programming Techniques

Best Practices for Deploying, Replicating, and Managing Real-Time and FPGA Applications. ni.com

Data Acquisition in LabVIEW

Experiment 2 Introduction to TI C2000 Microcontroller, Code Composer Studio (CCS) and Matlab Graphic User Interface (GUI)

Motorola Phone Tools. Quick Start

Advanced Scripting Techniques for Automating Regression Tests and Measurements with the Code Composer Studio Scripting Utility

Microsoft Access Database Management through LabVIEW and MySQL

NI TestStand Version 2012

Using MCC GPIB Products with LabVIEW

Comdial Network Management System User Instructions

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

How To Write A Librao Low Voltage Differential (Lvds) Module On An Nio 6585 Fuserio (Flexrio) Power Supply (Femaleseo) And Power Supply On An Iphone Or Ip

Using Code Coverage and Multi-event Profiler in Code Composer Studio v2.3 for Robustness and Efficiency Analyses

Desktop, Web and Mobile Testing Tutorials

Software Engineering for LabVIEW Applications. Elijah Kerry LabVIEW Product Manager

An Introduction to MPLAB Integrated Development Environment

DEPLOYING A VISUAL BASIC.NET APPLICATION

LabVIEWTM. Database Connectivity Toolkit User Manual. Database Connectivity Toolkit User Manual. June A-01

footscan SCSI system Installation guide: balance software

Client Installation Guide. Version 6.0 SP1

SCADAPack E ISaGRAF 3 User Manual

RealView Developer Suite Version 2.1

Performance data collection and analysis process

EE8205: Embedded Computer System Electrical and Computer Engineering, Ryerson University. Multitasking ARM-Applications with uvision and RTX

How To Install Tripleplay On A Fishman 3.5 (Powerbook) On A Computer Or Ipad Or Ipa (Powerstation) With A Microsoft Powerbook) With An Ipa 3.4 (Powerboard) Or Power

Application Note: AN00141 xcore-xa - Application Development

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

AuthentiMax Software for GloMax -Multi+

PDA Software Manual For the Windows CE and Mobile Operating Systems

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

A Real Time, Object Oriented Fieldbus Management System

Network Administrator s Guide and Getting Started with Autodesk Ecotect Analysis

Installation Guide Sybase ETL Small Business Edition 4.2 for Windows

DUKANE Intelligent Assembly Solutions

Product Development. Using Critical Path EVM for the Microsoft Project Desktop Application Readme

DRV8312-C2-KIT How to Run Guide

Unpack and Install the Devices, Accessories, and Cables

Sample. LabVIEW TM Core 1 Course Manual. Course Software Version 2010 August 2010 Edition Part Number B-01

Parallels Virtuozzo Containers 4.6 for Windows

BioWin Network Installation

TestManager Administration Guide

Quick Start Using DASYLab with your Measurement Computing USB device

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

LabVIEWTM. Getting Started with LabVIEW. Getting Started with LabVIEW. June J-01

ebus Player Quick Start Guide

SMS Database System Quick Start. [Version 1.0.3]

Calrec SoundGrid I/O. User Guide

Using Example Projects, Code and Scripts to Jump-Start Customers With Code Composer Studio 2.0

Learning Remote Control Framework ADD-ON for LabVIEW

Parallels Containers for Windows 6.0

Transcription:

LabVIEW DSP Test Integration Toolkit for TI DSP Contents The LabVIEW DSP Test Integration Toolkit for TI DSP gives you the ability to use LabVIEW and the TI Code Composer Studio (CCS) Integrated Development Environment (IDE) to create test systems for DSP target code. The LabVIEW DSP Test Integration Toolkit includes VIs to automate CCS IDE and VIs that use the TI Real-Time Data Exchange (RTDX ) software technology to communicate with TI DSP development boards that support RTDX. Use the toolkit automation VIs to work with CCS IDE project (.pjt) files programmatically. Use the toolkit RTDX communication VIs and the toolkit memory VIs to programmatically exchange data with target code. The LabVIEW DSP Test Integration Toolkit also includes the LabVIEW Debugging Workbench for RTDX Communication, which you can use to interact with RTDX channels on development boards that support RTDX. Refer to the LabVIEW DSP Test Integration Toolkit Help by selecting Help»LabVIEW DSP Test Integration Toolkit Help for reference information about the DSP Test Integration VIs. Installation... 2 Automating CCS IDE Functions... 3 Exchanging Data with DSP Target Code... 3 Writing and Reading Data from DSP Memory... 4 Working with Target Code Data in LabVIEW... 5 Using DSP Test Integration Advanced VIs... 5 LabVIEW, National Instruments, ni.com, and NI are trademarks of National Instruments Corporation. Product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your CD, or ni.com/patents. September 2003 323452B-01 ni.com 2002 2003 National Instruments Corp. All rights reserved.

Installation Complete the following steps to install the LabVIEW DSP Test Integration Toolkit for TI DSP. 1. Verify the following components are installed before continuing with installation: LabVIEW 7.0 CCS IDE 2.2 or later TI DSP development platform that you can configure with CCS. The C2000 DSP platform is compatible only with the toolkit automation VIs. Refer to the development board documentation for information about installing and configuring the development board. (Windows 2000/NT/XP) Log in as an administrator or as a user with administrator privileges before you install the LabVIEW DSP Test Integration Toolkit. 2. Insert the LabVIEW DSP Test Integration Toolkit CD into the CD-ROM drive. The LabVIEW DSP Test Integration Toolkit installation program runs automatically. Note If the setup does not launch automatically, select Start»Run, enter x:\setup, where x is the letter of the CD-ROM drive, and click the OK button. 3. Follow the instructions that appear on the screen. The LabVIEW Debugging Workbench for RTDX Communication installs with the LabVIEW DSP Test Integration Toolkit. Use the LabVIEW Debugging Workbench for RTDX Communication to quickly interact with target code RTDX channels using LabVIEW controls and indicators. Select Tools»RTDX»LabVIEW Debugging Workbench for RTDX Communication from CCS or select Programs»National Instruments»LabVIEW Debugging Workbench for RTDX Communication from the Windows Start menu to launch the LabVIEW Debugging Workbench. LabVIEW DSP Test Integration Toolkit for TI DSP 2 ni.com

Automating CCS IDE Functions Use the LabVIEW DSP Test Integration Toolkit VIs to control the CCS IDE and project files. You can launch CCS IDE, open a.pjt file, build the.pjt file, and download the resulting.out file to a development board from a LabVIEW VI to automate CCS IDE functionality. The block diagram in Figure 1 shows how you can automate the process of compiling DSP target code and embedding the code on a development board. Wire the.pjt file path to the CCS Open Project VI to open the.pjt file in CCS IDE. The CCS Build VI builds the.pjt file to create the DSP target code.out file. The CCS Download Code VI downloads the.out file to the development board. The CCS Run VI runs the embedded.out file on the development board. You then can use the toolkit RTDX communication and the toolkit memory VIs to access data from the target code. Figure 1. LabVIEW Automation of CCS IDE The CCS Halt VI and CCS Close Project VI stop the.out file running on the development board and close the project in CCS IDE. Exchanging Data with DSP Target Code After you create DSP target code in the CCS IDE and embed the.out file on a development board, you can create LabVIEW VIs to test the target code. You can transfer simulation data to the DSP target code from a VI and analyze output data from the target code on the development board. Use the RTDX communication VIs to send data to DSP target code RTDX input channels and to receive data from RTDX output channels. RTDX allows system developers to transfer data between LabVIEW and the target processor without interfering with target code execution. The data inputs can be any test values you want to pass to the target code with each iteration, and the data outputs can be any values you want to retrieve for analysis from the target code after each iteration. National Instruments Corporation 3 LabVIEW DSP Test Integration Toolkit for TI DSP

The block diagram in Figure 2 shows how to send data to and receive data from RTDX channels of DSP target code running on a development board. While running, the DSP target code for the example expects sine wave data. The Simulate Signal VI creates a test sine wave. The CCS RTDX Write VI writes the test sine wave to the WaveIn RTDX channel of the DSP target code. The DSP target code uses the test sine wave data it receives from the WaveIn RTDX channel. The CCS RTDX Read VI reads waveform data from the WaveOut RTDX channel of the DSP target code. This example VI displays the waveform data on a waveform graph. Figure 2. RTDX Communication with DSP Target Code Writing and Reading Data from DSP Memory You can access data from the memory of target processors. The memory VIs communicate with the development board slower than the RTDX communication VIs, but you can use them to perform simple code monitoring and control. The following target code runs on the target processor and executes a loop that increases the value of the counter symbol until the run_flag symbol equals 0. volatile Int16 run_flag = 1; Int16 counter = 0; void main() { while( run_flag ) { // loop executes until run_flag equals zero. // counter increases during each iteration. counter++; } } LabVIEW DSP Test Integration Toolkit for TI DSP 4 ni.com

In Figure 3, the CCS Symbol to Memory Address VI returns the memory address of the counter symbol and passes the memory address to the CCS Memory Read VI. The CCS Memory Read VI reads the value of memory at the memory address and this example VI displays the value of the counter symbol on the front panel. Figure 3. Reading Data Values from Memory You can control the target code by changing the value of target code symbols. In Figure 4, the CCS Symbol to Memory Address VI passes the current memory address of the run_flag symbol to the CCS Memory Write VI. The CCS Memory Write VI changes the value of run_flag to 0, stopping the target code loop. Figure 4. Writing Data Values to Memory Working with Target Code Data in LabVIEW You can analyze, manipulate, and present test data the DSP target code returns. For example, on the block diagram in Figure 2, the DSP target code returns waveform test data to analyze in LabVIEW. A waveform graph displays the waveform data. Refer to the LabVIEW User Manual for information about the measurement, analysis, and presentation features of LabVIEW. Using DSP Test Integration Advanced VIs Denoted by a blue background, the DSP Test Advanced VIs handle low-level CCS IDE and RTDX functionality, such as launching CCS IDE and enabling or disabling RTDX communication. Use the DSP Test Integration Advanced VIs when you want more control over CCS IDE and RTDX functionality. National Instruments Corporation 5 LabVIEW DSP Test Integration Toolkit for TI DSP

Use the LabVIEW ActiveX Property and Invoke nodes to control the CCS IDE functionality using the DSP Test Integration Advanced VIs. Refer to the the LabVIEW User Manual for information about using Invoke and Property nodes. LabVIEW DSP Test Integration Toolkit for TI DSP 6 ni.com