You must use a LabVIEW project to work with an RT target. Complete the following steps to add an RT target to a project.
- Create a project using the Real-Time Project Wizard or the Project Explorer window.
- Right-click the project root and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box. If an RT target in the project supports other targets, you also can right-click the target and select New»Targets and Devices from the shortcut menu to add a target under the existing target. For example, if you have an NI FPGA target installed in an NI PXI target, you can add the device under the RT target.
- Select the type of RT target you want to add from the Targets and Devices section of the Add Targets and Devices dialog box. You can select from the following types of RT targets:
- Existing target or device—An RT target that you have configured in NI Measurement & Automation Explorer (MAX) and connected to the same subnet as the host computer.
- Existing device on remote subnet—An RT target that you configured in MAX and connected to a remote subnet. Specify the RT target using the IP address.
- New target or device—A target in a project that is not bound to existing RT Series hardware. You must change the properties for the target from the General Properties page of the RT target Properties dialog box to specify a name and IP address and bind it to an existing RT Series device before you attempt to connect to or run a VI on the target.
- Select a target and then click the OK button. An item representing the RT target appears in the Project Explorer window.
You can add and remove items under an RT target.