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

Distributing a Simulation Program (Robotics Module)

LabVIEW 2013 Robotics Module Help

Edition Date: June 2013

Part Number: 372983D-01

»View Product Info

After you write a robotics simulation program, you can build the code into a stand-alone application that you can distribute to other users. Applications are useful when you want users to run VIs without installing the LabVIEW development system.

Complete the following steps to create a stand-alone application from a simulation program.

  1. Create a build specification for the stand-alone application, but do not build it yet. Perform the following actions on the Source Files page of the Application Properties dialog box:
    • Specify that you want the master simulation VI to serve as the startup VI that displays and runs when you launch the application.
    • Add the .xml manifest file the master VI calls to the Always Included list.
  2. Build the stand-alone application as described in the instructions for creating a build specification.
  3. Copy the following files to the support directory that you specify on the Destinations page of the Application Properties dialog box:
    • The resource folder (xxxRSC) in the project directory
    • (Optional) To customize the friction coefficient table, copy this file: labview\vi.lib\robotics\Simulator\Interface\Utility\Kinetic Friction Coefficient.txt

Complete the following steps to create an installer to distribute the stand-alone application you created from a simulation program.

  1. Add the resource folder (xxxRSC) as a new folder in the LabVIEW project.
  2. Create a build specification for the installer, but do not build it yet.
  3. In the Source Files page of the Installer Properties dialog box, add the following files to the Destination View:
    • The stand-alone application you created from the simulation program
    • The resource folder (xxxRSC) in the project directory
      Note  
      • The directory structure of the resource folder in the Destination View must match the directory structure in the project directory and LabVIEW project. If the Destination View does not have this directory structure, create the structure in the Destinations page of the Installer Properties dialog box.
      • The resource folder must reside under the support directory you specify in the Destinations page of the Application Properties dialog box. For example, if the resource folder resides under the support directory MyFolder, the Destination View in the Source Files page of the Installer Properties dialog box must have the following directory structure: MyFolder\xxxRSC.
    • (Optional) The friction coefficient table located at: labview\vi.lib\robotics\Simulator\Interface\Utility\Kinetic Friction Coefficient.txt
  4. In the Additional Installers page of the Installer Properties dialog box, place a checkmark next to the following items in the National Instruments Installers to Include list:
    • LabVIEW Run-Time Engine
    • LabVIEW Robotics Run-Time Engine
    Note  The version of the LabVIEW Run-Time Engine and the LabVIEW Robotics Run-Time Engine must be the same.
  5. Build the installer as described in the instructions for creating a build specification.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit