NI Labs Toolkits

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2010 NI SoftMotion Module Express VIs

The NI LabVIEW 2010 NI SoftMotion Module Express VIs allow you to create motion applications using standard Express VI interfaces.

 

Software Requirements

The following software is required to use the NI SoftMotion Module Express VIs:

  • NI LabVIEW 2010
  • NI LabVIEW 2010 NI SoftMotion Module

 

Installation Instructions
  1. Download the attached zip file and unzip.
  2. Run setup.exe and follow the instructions.  After installing you will have access to the Express VIs.

 

Overview

The NI SoftMotion Module Express VIs allow you to create motion applications using an easy to use high-level express VI API. This software adds a shortcut menu option to the NI SoftMotion function blocks—Convert to»Express VI. To use the NI SoftMotion Express VIs you must first place the corresponding NI SoftMotion function block onto the block diagram, then convert the function block into an express VI. When you convert a function block into an express VI, the operation executes synchronously (blocking) by default, unlike the function block API, which is asynchronous (non-blocking).

 

SimpleExpressVIMove.jpg

Because NI SoftMotion express VIs execute synchronously, you must specify a timeout for the operation. When you convert a function block to an express VI, the function block status inputs and outputs are replaced by a timeout input and a timed out? output that have the following functions:

  • timeout specifies the timeout value, in seconds, for the operation. The default is -1 which indicates an infinite timeout. If the operation has not ended by completing, aborting, or an error in the specified time the timed out? parameter is set to TRUE and NI SoftMotion returns an error.
  • timed out? returns TRUE when the current operation exceeds the specified timeout value.

 

You can use the NI SoftMotion Module express VIs asynchronously by right-clicking the express VI and selecting Timing Model»Asynchronous from the shortcut menu. When the express VI is used asynchronously, the execute, done, busy, active, and aborted status inputs and outputs are available and function the same way they do in the NI SoftMotion function blocks. Express VIs set for asynchronous execution are indicated with a green bar on the icon as shown in the following figure:

 

slMoveAsync.jpg

 

Known Issues
  1. Do not convert a function block from an existing VI, as this may result in undesirable behavior. Drop a new function block and convert it instead.
  2. The Clear Faults express VI cannot be successfully converted back to a function block without first changing the Timing Model to Asynchronous from the express VI shortcut menu.
  3. All linked help content currently goes to help for the NI SoftMotion function blocks.
  4. The Help button in all Express VI Properties dialog boxes does not currently link to anything.
Regards,
Natasa
Comments
Sreekantham
Member
Member
on

This feature has been incorporated into the NI LabVIEW 2011 NI SoftMotion Module.