
4.
On the
Enter the IP address of the controller
page, type the IP address of the RT target from the
Starter Kit in the
Controller IP address
text box.
5.
Click
Next
to accept the settings and continue.
6.
On the
Select architecture
page, select the architecture template you want the RT target to run
from the
Select architecture
list. For this exercise, select
Starter Kit 2.0 Roaming (default)
.
7.
Click
Next
to accept the settings and continue.
8.
On the
Enter project name and folder
page, enter a name for the project and the location at which
you want to save the
.lvproj
file.
9.
Click
Finish
to exit the Robotics Project Wizard and generate the new project, VIs, and support
files for the robotics application. The
Project Explorer
window displays the new project that you
create.
Exploring the Project in the Project Explorer Window
The
Project Explorer
window enables you to manage hardware targets, VIs, and other support files
from one location. In the project you create, the
Project Explorer
window includes the following
sections:
•
Project root
—Contains the host computer, the Starter Kit RT target and I/O, and VIs that control
the target.
–
My Computer
—Represents the host computer in the project.
•
Dependencies
—Includes items that VIs under the host require.
•
Build Specifications
—Includes build configurations for source distributions and other
types of builds. You can use
Build Specifications
to configure stand-alone applications,
such as one that launches automatically when you power on the target.
•
Simulated Starter Kit 2.0 Roaming
—Organizes the files that define and control
components in a particular simulation scene.
–
Simulated Starter Kit 2.0 Roaming.xml
—Serves as the manifest file that contains
definitions for components in the simulation scene you create. LabVIEW adds this
item to a project when you use the
Robotics Environment Simulator Wizard
to
create a simulation scene.
–
Simulated Starter Kit 2.0 Roaming.vi
—Starts and stops the simulator, serves as
a user interface for the simulation, and calls LabVIEW code that manipulates
components in the simulation.
–
Simulated Starter Kit 2.0 Roaming ID List.txt
—Contains the ID names of the
components in the simulation scene you create. LabVIEW adds this item to a project
when you use the
Robotics Environment Simulator Wizard
to create a simulation
scene.
–
Starter Kit 2.0 sbRIO
—Represents the real-time controller on the Starter Kit robot and
contains the I/O through which you access sensors and actuators. The
Project Explorer
window also includes
Dependencies
and
Build Specifications
sections under this target.
VIs and libraries that you add to a hardware target appear under the target to indicate that you can run
the VI on that target. Figure 4 shows a project similar to the
Robotics Project.lvproj
file you
created with the Robotics Project Wizard.
Getting Started with the LabVIEW Robotics Module
8
ni.com