Getting Started with NI 9514/16 Modules and AKD Servo Drives
|
© National Instruments
|
13
4. Expand the controller item in the tree, right-click
Software
, and select
Add/Remove
Software
.
5. Select a recommended software set that includes NI-RIO 3.4.0 or later with NI Scan Engine
Support.
6. Click
Next
and enable the following add-ons:
•
LabVIEW SoftMotion Module
•
NI Industrial Communications for EtherCAT if using the NI 9144.
Note
If you are using the LabVIEW SoftMotion Module 2010 SP1 or earlier, you
need to install NI Scan Engine Support for LabVIEW SoftMotion Module.
7. Click
Next
to install the selected software on the controller. Click
Help
if you need
information about installing recommended software sets.
8. Close MAX.
Step 2: Creating a Project and Adding NI RT Controller
Complete the following steps to create a LabVIEW project.
1. Launch LabVIEW by selecting
Start»All Programs»National Instruments»LabVIEW
.
2. Click the
Empty Project
link in the
Getting Started
window to display the
Project
Explorer
window. You can also select
File»New Project
to display the
Project Explorer
window.
3. Select
Help
and make sure that
Show Context Help
is checked. You can refer to the
context help throughout the tutorial for information about items on the block diagram.
Depending on the hardware configuration being used, continue to the following respective
sections.
A. CompactRIO Controller
If you are using a CompactRIO controller, complete the following steps to add the device to the
project and detect the C Series modules.
1. Right-click the top-level project item in the
Project Explorer
window and select
New»
Targets and Devices
from the shortcut menu to display the
Add Targets and Devices
dialog box.
2. Make sure that the
Existing target or device
radio button is selected.
3. Expand
Real-Time CompactRIO
.
4. Select the CompactRIO controller to add to the project and click
OK
.
5. If you have LabVIEW FPGA installed, the
Select Programming Mode
dialog box
appears. Select
Scan Interface
to put the system into Scan Interface mode.
Tip
Use the
CompactRIO Chassis Properties
dialog box to change the
programming mode in an existing project. Right-click the CompactRIO chassis in the
Project Explorer
window and select
Properties
from the shortcut menu to display
this dialog box.