Configuring a Project for a CompactRIO R Series Expansion System (FPGA Interface)
Complete the following steps to add a cRIO-9151 R Series Expansion chassis system to a new or existing project.
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 R Series Expansion chassis must have C Series modules installed and must be connected to an R Series device installed in the computer. Refer to the CompactRIO R Series Expansion System Installation Instructions for information about installing the chassis.
- Create a new project or open an existing project.
- Right-click My Computer 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 R Series device under R Series and click the OK button. LabVIEW adds an FPGA target item for the R Series device to the project.
- Right-click the FPGA Target for the R Series device in the Project Explorer window and select New»R Series Expansion Chassis from the shortcut menu to display the New R Series Expansion Chassis dialog box.
- Select the connector to which the R Series Expansion chassis is connected in the Location pull-down menu.
- Check the Discover C Series modules checkbox and click the OK button. LabVIEW adds items for the chassis 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.
- 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 My Computer 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 the appropriate R Series device under R Series, and click the OK button. LabVIEW adds an FPGA target item for the R Series device to the project.
- Right-click the FPGA Target for the R Series device in the Project Explorer window and select New»R Series Expansion Chassis from the shortcut menu to display the New R Series Expansion Chassis dialog box.
- Click the OK button. LabVIEW adds a chassis item to the project.
- 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 FPGA I/O items for the module I/O 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.