Configuring a Project for a CompactRIO Reconfigurable or Integrated System (Scan Interface)
Complete the following steps to add a cRIO-910x Reconfigurable Embedded system or cRIO-9074 Integrated controller and chassis system to a new or existing project.
Configuring a Project with Connected Hardware
Complete the following steps to configure the project if you have hardware installed. The controller must be attached to a chassis with C Series modules installed, connected to the same subnet as the host computer, and powered on. Refer to the controller operating instructions for information about installing the controller on a chassis, connecting the controller to a network, and wiring power to the controller. The controller also must be configured in Measurement & Automation Explorer (MAX). Refer to the Measurement & Automation Explorer (MAX) Help for CompactRIO for information about configuring the controller.
- Create a new project or open an existing project.
- Right-click the project root in the Project Explorer window and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
- Select the appropriate controller under Real-Time CompactRIO and click the OK button. If you are using a controller and chassis that are supported in Scan Interface mode, the Select Programming Mode dialog box appears.
- If the Select Programming Mode dialog box appears, select Scan Interface and click the Continue button to put the system into Scan Interface mode.
- Click the Discover button in the Discover C Series Modules? dialog box that appears. LabVIEW adds items for the controller, the chassis, and all installed C Series modules to the project. LabVIEW also adds I/O variables to the project for all installed C Series module I/O channels.
- Right-click a module item in the Project Explorer window and select Properties from the shortcut menu to configure module-specific settings in the C Series Module Properties dialog box. Some modules do not have any settings to configure other than the module name and chassis slot location. Click the Help button on the C Series Module Properties dialog box for information about the module settings.
Configuring a Project with Offline Hardware
Complete the following steps to configure the project if you do not have hardware installed.
- Create a new project or open an existing project.
- Right-click the project root in the Project Explorer window and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
- Click the New target or device radio button, select a controller that supports the Scan Interface under Real-Time CompactRIO, and click the OK button. LabVIEW adds an RT target item for the controller to the project.
- Right-click the RT CompactRIO Target in the Project Explorer window and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
- Click the New target or device radio button, select a chassis that supports the Scan Interface under CompactRIO Chassis, and click the OK button. LabVIEW adds a chassis item to the project.
Note If you selected the cRIO-9074 Integrated controller in step 3, you must select the cRIO-9074 Integrated chassis in this step. - Right-click the chassis item in the Project Explorer window and select New»C Series Modules from the shortcut menu to display the Add Targets and Devices dialog box.
- Click the New target or device radio button, select C Series Module, and click the OK button to display the New C Series Module dialog box.
- Select the appropriate C Series module from the Module Type pull-down menu and click the OK button. LabVIEW adds a module item and I/O variables for the module I/O channels to the project.
- Repeat steps 6 through 8 to add additional C Series modules to the project.
- Right-click a module item in the Project Explorer window and select Properties from the shortcut menu to configure module-specific settings in the C Series Module Properties dialog box. Some modules do not have any settings to configure other than the module name and chassis slot location. Click the Help button on the C Series Module Properties dialog box for information about the module settings.