
Building a Robotics Application that Runs at Startup
Use the LabVIEW Application Builder with the Real-Time Module to create a stand-alone robotics
application that runs on an RT target. Stand-alone applications do not require you to run them from
within a LabVIEW environment. You can embed a stand-alone application on an RT target and configure
the application to launch automatically when you power on the target. Use the Application Builder to
create a build specification that defines how you want to build an application.
Creating a Build Specification
A build specification defines the VIs, support files, and settings for a stand-alone application. You must
create a build specification and then use the build specification to build the application.
Complete the following steps to create a build specification from the project you previously created.
1.
Right-click
Build Specifications
under the RT target in the
Project Explorer
window and select
New»Real-Time Application
from the shortcut menu to open the
Real-Time Application
Properties
dialog box.
2.
Enter
Robotics Application
in the
Build specification name
text box. The build specification
name appears under
Build Specifications
for the RT target.
3.
Enter
roboapp.rtexe
in the
Target filename
text box to set the file name for the application
executable on the RT target. By default, the
Target filename
text box contains
startup.rtexe
.
4.
Click
Source Files
from the
Category
list to display the
Source Files
page.
5.
From the
Project Files
tree, select the
Starter Kit 2.0 Roaming.vi
, located under the RT
target, and click the right arrow button to move the VI into the
Startup VIs
list, as shown in Figure 9.
VIs in the
Startup VIs
list execute when you launch the application.
Getting Started with the LabVIEW Robotics Module
14
ni.com