Initialization

NI-Motion VI

Initialization

The configuration panels in Measurement & Automation Explorer (MAX) allow you to set a large number of NI motion controller attributes such as motor type, limit switch polarity, position mode, and maximum velocity. Most of the attributes are one-time configuration settings that do not change. By setting these attributes one time in MAX, your programming is much simpler, and you can concentrate on the motion-specific part of your application.

When you call the Initialize Controller VI, all the attributes stored in MAX are retrieved and sent to the motion controller. After the controller is initialized, you do not need to initialize each time you run the application. National Instruments recommends you call Initialize Controller one time after restarting the computer or resetting the motion hardware. The motors are temporarily disabled (killed) while this initialization process takes place.

In most cases, you call Initialize Controller with the Settings Name terminal unwired, which causes the current initialization settings in MAX to use. You also can initialize the controller with alternate initialization settings by passing in the name of the alternate setting as specified in MAX.

Click the icons for VI descriptions.

Initialize Controller Axis & Resource Configuration VIs Trajectory Control VIs Start & Stop Motion VIs Motion I/O VIs Find Reference VIs Analog & Digital I/O VIs Error & Utility VIs Onboard Programming VIs Advanced VIs

Initialize Controller

Subpalettes

Axis & Resource Configuration VIs Advanced Trajectory VIs
Start & Stop Motion VIs Motion I/O VIs
Find Reference VIs Breakpoint VIs
Analog & Digital I/O VIs High-Speed Capture VIs
Advanced VIs Error & Utility VIs
Trajectory Control VIs Advanced Error & Utility VIs
Arc VIs Onboard Programming VIs
Gearing VIs Object Management VIs
Buffered Operations VIs Data Operations VIs