Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Running a Simulation Program on a Real Robot (Robotics Module)

LabVIEW 2013 Robotics Module Help

Edition Date: June 2013

Part Number: 372983D-01

»View Product Info

After you program and view a robotics simulation program, you can make a few modifications to the VIs and then run them on a hardware target that controls a real robot. You must use a LabVIEW project with simulation-related files to organize and deploy the code to hardware. Complete the following steps to prepare a simulation program to run on real hardware and then deploy the program.

  1. In the Project Explorer window, add the hardware target to which you want to deploy the application.
    Note  If you use the Robotics Environment Simulator Wizard to create a simulation scene, you can use the same project the wizard generates.
  2. Under the hardware target, add the master simulation VI and any subVIs you create as part of the program. Do not move the .xml manifest file under the target.
  3. Open each VI and remove or reconfigure any LabVIEW code related to simulation. The following tasks describe common steps you must take:
  4. Right-click the VI under the hardware target that served as the master simulation VI and select Deploy from the shortcut menu to deploy the VI and any support files for the VI to the target.

Refer to the Starter Kit 2.0.lvproj in the labview\examples\robotics\Starter Kit 2.0 directory for an example of a project that contains both a simulation program and a hardware target with the program modified to run on the target.


 Was this document helpful?  submit
  Helpful Not Helpful