CH09 LabVIEW DSP Integration - CHAPTER 9 LabVIEW DSP...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
C H A P T E R 9 LabVIEW DSP Integration A DSP system designed in LabVIEW can be placed entirely or partially on a hardware platform. This chapter discusses the implementation process on a DSP hardware platform consisting of a TMS320C6713 or TMS320C6416 DSK board. Such an implementation or integration is made possible by using the LabVIEW toolkit DSP Test Integration for TI DSP. 9.1 Communication with LabVIEW: Real-Time Data Exchange (RTDX) Communication between LabVIEW and a C6x DSK board is achieved by using the Real-Time Data Exchange (RTDX ) feature of the TMS320C6x DSP. This feature allows one to exchange data between a DSK board and a PC host (running LabVIEW) without stopping program execution on the DSP side. This data exchange is done either via the Joint Test Action Group (JTAG) connection or the Universal Serial Bus (USB) port emulating the JTAG connection. RTDX can be configured in two modes: non-continuous and continuous. In non- continuous mode, data are written to a log file on the host. This mode is normally used for recording purposes. In continuous mode, data are buffered by the RTDX host library. This mode is normally used for continuously displaying data. Here, so that one can view the processed data on the PC/LabVIEW side, RTDX is configured to be in continuous mode. 9.2 LabVIEW DSP Test Integration Toolkit for TI DSP The DSP Test Integration for TI DSP toolkit provides a set of VIs which enable interfacing between LabVIEW and Code Composer Studio [ 1 ]. The VIs provided in 223
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
this toolkit are categorized into two groups: CCS Automation and CCS Communi- cation. These VI groups are listed in Table 9-1 . The VIs in the CCS Automation group allow automating the CCS code execution steps through LabVIEW. They include (a) open CCS, (b) build project, (c) reset CPU, (d) load program, (e) run code, (f) halt CPU, and (g) close CCS. The flow of these steps is the same as those in CCS. The VIs in the CCS Communication group allow exchange of data through the RTDX channel. For example, the CCS RTDX write VI and CCS RTDX read VI are used for writing and reading data to and from the DSP side, respectively. Note that these VIs are polymorphic. Therefore, data types (i.e., single precision, double precision, or integer) and data formats (i.e., scalar or array) should be matched in LabVIEW and CCS in order to establish a proper LabVIEW DSP integration. 9.3 Combined Implementation: Gain Example In this section, a LabVIEW DSP integration example is presented to show the basic steps that are required for a combined LabVIEW and DSP implementation. From the main dialog box of LabVIEW, open the NI Example Finder, shown in Figure 9-1 , by choosing Help » Find Examples . Table 9-1: List of VIs in the LabVIEW DSP Test Integration Toolkit CCS Automation VIs CCS Communication VIs CCS Open Project VI CCS RTDX Read VI CCS Build VI CCS RTDX Write VI CCS Download Code VI CCS RTDX Enable VI CCS Run VI CCS RTDX Enable Channel VI CCS Halt VI CCS RTDX Disable VI CCS Close Project VI CCS RTDX Disable Channel VI CCS Window Visibility VI CCS Memory Read VI
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern