Update: This feature has been incorporated into the NI LabVIEW 2010 NI SoftMotion Module.
The NI SoftMotion Property and Invoke Nodes allow you to create motion applications using the same properties and methods that the NI SoftMotion function blocks are built from.
Software Requirements
The following software is required to use the NI SoftMotion Property and Invoke Nodes:
The NI SoftMotion Property and Invoke Nodes provide properties and methods you use to create motion applications with axis, coordinate, and table resources you create in the LabVIEW Project. Installing this software adds several items to the NI SoftMotion palette in LabVIEW. The following image shows the additional palette items:
Note: Property and method descriptions are identical to the NI SoftMotion function block parameters and methods. Refer to the NI SoftMotion Module book of the LabVIEW Help for detailed information about the available properties and methods.
The following methods are available for the Axis class:
The following methods are available for the Coordinate class.
This software also adds a shortcut menu option to the NI SoftMotion function blocks—Convert to SubVI. This option is similar to selecting Open Front Panel from the shortcut menu of an Express VI in that it replaces the selected function block with a subVI that provides the same functionality and uses the NI SoftMotion properties and methods instead of the NI SoftMotion function blocks. This allows you to use code written using NI SoftMotion function blocks in applications that do not support function blocks.
To enable this feature edit the labview.ini file located in your Program Files\National Instruments\LabVIEW 2009 folder and add the following line "nisoftmotionlabs=true".
Note: When you convert your function blocks to subVIs, any variables associated with that function block are lost.
The following figure demonstrates a simple example of how to set up a coordinate straight-line move using the NI SoftMotion Property and Invoke Nodes.
Dear Kiran Sreekantham
in my computer I have:
# LabVIEW 2009 version 9.0f3
# LabVIEW Real-Time Module 2009
# LabVIEW FPGA Module 2009
# LabVIEW SoftMotion Module 2009
# NI-RIO 3.3.1
After installing LabVIEW SoftMotion Module 2009 SP1, the SoftMotion palette doesn't have any additional items as shown in your image.
The SoftMotion Module 2009 SP1 seems to be correctly installed, I can convert function blocks to SubVI and I can use the new SoftMotion property & invoke nodes.
Any ideas why the SoftMotion palette is not correctly updated?
How can I update the SoftMotion palette?
Thanks for your help,
Asper
Dear Kiran,
thanks for your note.
After I have installed the Property & Invoke Node API, the SoftMotion palette is now correctly updated.
Regards,
Asper
This feature has been incorporated into the NI LabVIEW 2010 NI SoftMotion Module.