NI-Motion for NI 73xx Motion Controllers
6
ni.com
Code Creation
When you are finished creating a prototype of a motion control application,
you can use the Motion Assistant code creation feature to export LabVIEW
or C/ C++ code. You can use the exported code to complete the application
in LabVIEW, C, or C++. You also can use Motion Assistant to generate
code recipes that you can use to code a motion control application in other
text languages, such as Microsoft Visual Basic.
The code generation feature of Motion Assistant also creates placeholders
in the generated code or code recipes for non-motion code, such as data or
image acquisition, in any location you specify.
Advanced Features
Motion Assistant supports the digital output and position compare output
features that are available on 73
xx
motion controllers. These features are
designed to be used with motion control to synchronize or coordinate
external processes with moves.
The digital output feature allows you to write to an ancillary digital output
line on the 73
xx
motion controller under the following move conditions:
•
Before Move Completes
•
After Move Completes
•
After Blend Completes
The position compare output feature allows you to write to the position
compare output lines on the 73
xx
motion controller at a specified position
in the move. If you are using a 7350 motion controller, you can configure
multiple or periodic position compare outputs. Both options add multiple
position compare outputs to a single move.
Hardware Support
Motion Assistant 1.3 is compatible with NI-Motion 7.0 and later. To create
LabVIEW code from a Motion Assistant prototype, you must have
LabVIEW 7.0 or later installed.
Motion Assistant requires that either the actual controller or the virtual
representation of a 73
xx
motion controller be installed in the computer.
Refer to the
Motion Assistant Help
for more information.
323329c.fm Page 6 Tuesday, December 6, 2005 3:27 PM