Table Of Contents

Adding the cRIO-904x to a LabVIEW Project

    Last Modified: May 11, 2018

    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 the Choosing Your Programming Mode topic 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.
    4. In the Add Targets and Devices dialog, expand the Real-Time CompactRIO folder, select your system, and click OK.

      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.

      Figure 1. System IP Address in Measurement & Automation Explorer
    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.


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

    Recently Viewed Topics