Adding the cRIO-904x to a LabVIEW Project
- Updated2025-05-05
- 2 minute(s) read
Complete the following steps to create a new LabVIEW project configured with the cRIO-904x controller.
You can use LabVIEW to program in the following program modes:
- Real-Time (NI-DAQmx) mode
- Real-Time Scan (IO Variables) mode
Refer to Choosing Your Program Mode to determine which program modes are right for your application.
Note LabVIEW FPGA Module is required to deploy C Series modules in
LabVIEW FPGA program mode for applications using advanced functionality that require
programming the FPGA. Refer to Using the cRIO-904x in
LabVIEW FPGA for more information.
- To create a new LabVIEW project, launch LabVIEW and click Create Project.
- Select Blank Project from the Create Project dialog and click Finish.
-
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.

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

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.
-
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 Refer to Deploying Your C Series Module in a Program Mode in LabVIEW for information about how to change program modes in LabVIEW.
Related Information
- Choosing Your Program Mode
The cRIO-904x supports three program modes.
- Using the cRIO-904x in LabVIEW FPGA
Supported program modes: Real-Time, Real-Time Scan (IO Variables), and LabVIEW FPGA.
- Deploying Your C Series Module in a Program Mode in LabVIEW
Complete the following steps to deploy C Series modules in a new program mode in the LabVIEW project.