National Instruments LabVIEW Robotics Module Getting Started Download Page 6

Configuring an RT Target

Before you can deploy robotics applications to an RT target, you must configure the basic settings of
the target and install software on the target. To configure the Single-Board RIO on the Starter Kit robot,
use the National Instruments Robotics Hardware Setup Wizard, which launches after you install the
LabVIEW Robotics software on the host computer. You also can click the

Welcome

link on the

Getting

Started

window and click the

Hardware Setup Wizard

link to launch this wizard manually.

If you use a CompactRIO or non-Starter Kit Single-Board RIO, you also can use this wizard. However,
if you use any other type of target, use the National Instruments Measurement & Automation Explorer
(MAX) to detect, configure, and test an RT target. MAX provides access to National Instruments devices
and systems, so you can use MAX to communicate with networked RT targets located on the same
subnet as the host computer. Select

Start»All Programs»National Instruments»Measurement &

Automation Explorer

to launch MAX and refer to the MAX help for more information about configuring

targets in MAX.

In the Robotics Hardware Setup Wizard, complete the instructions that appear on the screen to perform
the following tasks:

Set the IP address of the target you want to use

Download software to the target that can run VIs you deploy to the target

Test that the target is configured correctly

The host computer communicates with the remote system over a standard Ethernet connection. If the
host computer is already configured on a network, you must configure the remote target on the same
network. If neither machine is connected to a network, you must connect the two machines directly using
a CAT-5 crossover cable or hub.

On the final page in the Robotics Hardware Setup Wizard, exit the wizard and launch LabVIEW to
continue this exercise. When LabVIEW launches, the Robotics Project Wizard displays.

Tip

If you do not have the Robotics Starter Kit, you can launch LabVIEW and click the

Create

Project

button on the

Getting Started

window and select the

Robotics Project

template from

the

Create Project

dialog box to launch the Robotics Project Wizard.

Creating a Robotics Project

With the Robotics Module, you must use a LabVIEW project (

.lvproj

) to build and configure robotics

applications and to work with RT and FPGA targets. Use projects to group LabVIEW files and
non-LabVIEW files, configure communication between hardware, create build specifications, and deploy
files to targets.

Refer to the topics in the

Fundamentals»Working with Projects and Targets

book on the

Contents

tab of the

LabVIEW Help

for more information about LabVIEW projects.

For this exercise you will use the Robotics Project Wizard to create an application that drives the Starter
Kit robot. The application consists of a VI that acquires data from the distance sensor, calculates a
heading for travel, and then applies the correct amount of velocity to the drive motors.

Note

You can complete some of the same the steps in this exercise even if you do not have

the Starter Kit. The process this exercise describes is similar to the process for creating an
application for a non-Starter Kit RT target or a Windows-based target.

Getting Started with the LabVIEW Robotics Module

6

ni.com

Summary of Contents for LabVIEW Robotics Module

Page 1: ...s System 5 Installing Software and Device Drivers on the Host Computer 5 Configuring an RT Target 6 Creating a Robotics Project 6 Creating a Starter Kit Project Using the Robotics Project Wizard 7 Exp...

Page 2: ...tics environment select Start All Programs NI LabVIEW Robotics x where x is the LabVIEW version If LabVIEW is already open select Tools Choose Environment to display the Choose Environment Settings di...

Page 3: ...abVIEW modules and toolkits installed on which you develop the VIs for the robotics system After you develop the robotics VIs you can download and run the VIs on RT and FPGA targets such as CompactRIO...

Page 4: ...out creating a LabVIEW robotics project using the Robotics Project Wizard Real Time Controller Real time controllers run programs you create in LabVIEW On the Starter Kit robot the Single Board RIO is...

Page 5: ...Kit robot built in I O connects the FPGA to the sensor and actuators You typically write an FPGA VI to access I O and then use an RT VI to read from and write to the I O in the FPGA VI Sensors and Ac...

Page 6: ...on a network you must configure the remote target on the same network If neither machine is connected to a network you must connect the two machines directly using a CAT 5 crossover cable or hub On th...

Page 7: ...om the installation media 1 Click Create Project on the Getting Started window to launch the Create Project dialog box Choose Robotics from the Filters tree select the Robotics Project template in the...

Page 8: ...er 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 Organiz...

Page 9: ...he Robotics Project Wizard 1 In the Project Explorer window expand the Test Panels folder and double click Test Ultrasonic Sensor vi in the Project Explorer window Test Ultrasonic Sensor vi is an RT V...

Page 10: ...the distance between the ultrasonic distance sensor and the nearest obstacle the sensor detects The Close Starter Kit VI terminates the communication session with the FPGA on the Starter Kit robot Ti...

Page 11: ...out using traditional FPGA programming versus the VIs on the Starter Kit palette Return to the block diagram for the Test Ultrasonic Sensors VI and complete the following steps to continue exploring t...

Page 12: ...correct velocity to the drive motors 6 Close the Starter Kit 2 0 Roaming VI and return to the project Configuring Target Properties Use the Properties dialog box to configure the project settings of...

Page 13: ...run or reference the items Complete the following steps to deploy and run the robotics application you created with the Robotics Project Wizard 1 Right click the Starter Kit 2 0 Roaming vi under the...

Page 14: ...uild 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...

Page 15: ...an RT target 1 Right click the Robotics Application build specification and select Build from the shortcut menu to build the application The Application Builder builds the application using with the...

Page 16: ...s Module book on the Contents tab of the LabVIEW Help includes procedural and conceptual information about developing robotics applications and reference information about built in VIs on the Robotics...

Page 17: ...perating systems or NI FPGA targets respectively Refer to the readme file on the Robotics DVD for information about the products to which you have access Sensor and Actuator Drivers The Robotics Modul...

Page 18: ...nal Instruments products technology refer to the appropriate location Help Patents in your software the patents txt file on your media or the National Instruments Patent Notice at ni com patents You c...

Reviews: