Configuring a Project for a CompactRIO Reconfigurable or Integrated System (FPGA Interface)

CompactRIO

Configuring a Project for a CompactRIO Reconfigurable or Integrated System (FPGA Interface)

Complete the following steps to add a cRIO-910x Reconfigurable Embedded system or cRIO-9072/9074 Integrated controller and chassis system to a new or existing project.

Note Note  If you have not yet created a LabVIEW project, you also can use the FPGA Project Wizard to create a project for the CompactRIO system.

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.

  1. Create a new project or open an existing project.
  2. 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.
  3. 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.
  4. If the Select Programming Mode dialog box appears, select LabVIEW FPGA Interface and click the Continue button to put the system into LabVIEW FPGA Interface mode.
  5. Click the Discover button in the Discover C Series Modules? dialog box that appears. LabVIEW adds items for the controller, the chassis, the FPGA target, and all installed C Series modules to the project. LabVIEW also adds FPGA I/O items to the project for all installed C Series module I/O.
  6. 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.

  1. Create a new project or open an existing project.
  2. 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.
  3. Click the New target or device radio button, select the appropriate controller under Real-Time CompactRIO, and click the OK button. LabVIEW adds an RT target item for the controller to the project.
  4. 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.
  5. Click the New target or device radio button, select the appropriate chassis under CompactRIO Chassis, and click the OK button. LabVIEW adds a chassis item to the project.
    Note Note  If you selected the cRIO-9072/9074 Integrated controller in step 4, you must select the matching cRIO-9072/9074 Integrated chassis in this step.
  6. Right-click the chassis item in the Project Explorer window and select New»FPGA Target from the shortcut menu. If the chassis type is supported in Scan Interface mode, the Deploy CompactRIO Chassis Settings? dialog box appears. Click the No button to return to the project. LabVIEW adds an FPGA target item for the chassis to the project and puts the system into LabVIEW FPGA Interface mode.
  7. Right-click the FPGA Target in the Project Explorer window and select New»C Series Modules from the shortcut menu to display the Add Targets and Devices dialog box.
  8. 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.
  9. Select the appropriate C Series module from the Module Type pull-down menu and click the OK button. LabVIEW adds a module item and FPGA I/O items for the module I/O to the project.
  10. Repeat steps 7 through 9 to add additional C Series modules to the project.
  11. 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.