Adding the cRIO-904x to a LabVIEW Project

Complete the following steps to create a new LabVIEW project configured with the cRIO-904x controller.

You can use LabVIEW to program in Real-Time (NI-DAQmx) or Real-Time Scan (IO Variables) modes. For applications using advanced functionality that require programming the FPGA, LabVIEW FPGA Module is required to deploy C Series modules in the LabVIEW FPGA program mode. Refer to the Adding the cRIO-904x to a LabVIEW FPGA Project for more information.

Refer to "Choosing Your Programming Mode" in the cRIO-904x User Manual to determine which programming modes are right for your application.

  1. To create a new LabVIEW project, launch LabVIEW and click Create Project.
  2. Select Blank Project from the Create Project dialog and click Finish.
  3. To add your system to the project, right-click the top of the project tree and select New»Targets and Devices to launch the Add Targets and Devices discovery dialog.

    1378

  4. In the Add Targets and Devices dialog, expand the Real-Time CompactRIO folder, select your system, and click OK.

    1378

    Note If your system is not listed, LabVIEW could not detect it on the network. Ensure that your system is properly configured with a valid IP address in Measurement & Automation Explorer. If your system is on a remote subnet, you can also select to manually enter the IP address. You can locate the system IP address in MAX in the System Settings for the cRIO-904x.

    1378

  5. In the LabVIEW Project Explorer, verify that your system is present in the project tree. Click File»Save to save the project.

    The LabVIEW project is created. All C Series modules and corresponding I/O appear under Real-Time Resources by default, which indicates that all modules are deployed in Real-Time (NI-DAQmx) mode.

    Note For information on how to change programming modes in LabVIEW, see Deploying Your C Series Module in a Program Mode in LabVIEW.