National Instruments NI LabVIEW DJ Equipment User Manual


 
© National Instruments Corporation 23 Embedded Module for Blackfin Processors
Building, Downloading, and Running a Blackfin Application
After you develop the Blackfin VI on the host computer, you build the
Blackfin VI into a Blackfin application you can run on a Blackfin target.
When you build a Blackfin application, the LabVIEW C Code Generator
generates C code from the LabVIEW block diagram using the settings you
configure.
Note Before you can build, or compile, a Blackfin VI into a Blackfin application, you
must configure the build specifications, the target settings, and the debug settings. Refer
to the Creating the ADSP-BF537 Build Specification and Configuring the Target and
Debugging Options sections for information about configuring specifications and settings.
1. Right-click Debug configuration in the Project Explorer window
and select Build from the shortcut menu to build the Blackfin VI into
a Blackfin application. LabVIEW displays the status of the building
and linking process.
2. Right-click Debug configuration again and select Debug from the
shortcut menu to deploy the application to the Blackfin target. The
application automatically runs on the Blackfin target when you select
Debug from the shortcut menu.
3. Enter a value in the threshold front panel numeric control of the
Blackfin Tutorial VI on the host computer.
4. Enter different values in the input numeric control. In Figure 18, the
front panel on the left does not exceed the threshold value. If you enter
a number greater than the threshold, the threshold exceeded? LED
lights as shown in the front panel on the right in Figure 18.
Figure 18. Increasing Input Causes Output to Exceed Threshold and Lights the LED
5. Click the Abort Execution button, shown at left, to stop the Blackfin
application.