MAX Configuration
- 更新时间2024-10-31
- 阅读时长7分钟
Use Measurement & Automation Explorer (MAX) to get information and install software to the target.
Discovering the cRIO-9047 Controller
Ensure the following tasks are complete before you discover the cRIO-9047 controller:
- Refer to Setting up the System in the Battery Test System Hardware User Manual.
- Refer to Powering on the System in the Battery Test System Hardware User Manual.
- Launch Measurement & Automation Explorer (MAX) on the Lab PC.
- Expand Remote Systems in the configuration tree and locate your system.
-
Select your target.
Note MAX lists the system as NI-cRIO-9047-<serial number> by default.
-
Configure the network and user settings according to the standard practices of
your facility and within the IP address setting restrictions.
Note By default, the cRIO-9047 controller attempts to initiate a DHCP network connection the first time you connect using Ethernet.
Installing Software on the cRIO-9047 Controller
Installing the full software stack to the target requires installing the base CompactRIO driver set followed by installation of custom application components. Complete the following steps to install software on the cRIO-9047 controller using Measurement & Automation Explorer (MAX).
- Launch MAX on the host computer.
- In the MAX configuration tree, expand Remote Systems and locate the cRIO-9047 controller.
-
On the System Settings tab, click the Update
Firmware button.
Note You must update to the latest version of the firmware before you install software on the controller.By default, the file dialog window opens to the location of your firmware files, <Program Files (x86)>\National Instruments\Shared\Firmware\cRIO\78E9.
- Select the most recent firmware version and click Open.
- When the Update Firmware window appears, click Begin Update. Make sure the date and time are correct.
-
In the configuration tree, right-click the controller and select
Format Disk.
Note You must log in to configure the cRIO-9047. The default user name for the cRIO-9047 is admin. There is no default password for the cRIO-9047. To set a password for your system, refer to the KnowledgeBase article Manage User Accounts on NI Linux Real-Time OS Devices for detailed instructions.
- Expand the controller and right-click Software, then select Add/Remove Software to launch the Real-Time Software Wizard and install the base system image on the controller.
- Select the recommended Base System Image, Linux RT System Image 2024 Q2.
- Click OK to apply the system image.
- Select LabVIEW and Version 2023 for the programming environment.
- Click Next.
-
Select the following additional items on the Add tab:
- HTTP Client with SSL Support
- I/O Variable Remote Configuration Web Service
- NI Scan Engine
- NI VeriStand Engine
- NI-Industrial Communications for EtherCAT
- NI Serial 9870 and 9871 Scan Engine Support
- NI Vehicle Communication Toolkit Library
Tip You can use the Real-Time Software Wizard at any time to install additional software. - Select Include recommended packages.
- Click Review changes and verify that the summary of software to install is correct.
- Click Continue to start the installation.
- Click Close.
Setting Up the SystemLink Configuration on the cRIO-9047 Controller
- In MAX, on the System Settings tab under SystemLink Settings, select the cRIO-9047 and set the Server value to the same value set when configuring the SystemLink Server.
- Click Save. The status reads as Not Approved.
- Launch and log in to NI SystemLink Web Application.
- Click Systems Manager, then click Pending systems.
- Click Approve next to the name of the target. The target is now a client connected to your SystemLink server.
- In MAX on the System Settings tab under SystemLink Settings, select the cRIO-9047 and verify that the Status is Connected.
Upgrading the Firmware on cDAQ Chassis
- Turn your system off, and disconnect the Ethernet cable to the cDAQ chassis.
- Connect the Ethernet cable from the cDAQ chassis to either your computer or the facility’s network.
- Turn the system back on.
- Open NI MAX.
- In NI MAX, locate your cDAQ chassis by expanding .
- Click Upgrade Firmware.
- Login with an administrator account. By default, the username is admin and the password is left blank.
- Select the latest firmware file, and click it to begin updating the firmware on your cDAQ chassis.
- After the firmware update is complete, turn off the system, and disconnect the Ethernet cable from the computer or network.
- Reconnect the Ethernet cable from the cDAQ chassis to the system.
- Turn on the system.
Changing the C Series Module Programming Modes
- Launch Measurement & Automation Explorer (MAX) on the Lab PC.
- Expand in the configuration tree.
- Select a C Series module.
- In the Settings pane, set the Program Mode to Real-Time Scan (IO Variables).
-
Click Save.
The module is deployed in the Real-Time Scan program mode and the module icon (
) changes in the
configuration tree. - Repeat Steps 3 through 5 for all C Series modules in the cRIO-9047.
Discovering Network Devices (cDAQ-9189, FieldDAQ Devices)
Discover and configure the cDAQ-9189 chassis and FieldDAQ devices in the Battery Test System.
- Launch Measurement & Automation Explorer (MAX) on the Lab PC.
- Expand in the configuration tree.
- From the Add Network Devices drop-down, select Find Network NI-DAQmx Devices.
-
When the Find Network NI-DAQmx Devices dialog box opens, complete one of the
following options:
- Check the box that corresponds to your network device in the Hostname column.
- If you know the chassis IP address—such as 192.168.0.2—enter it into the Add Device Manually field, and click the + button.
- Enter the hostname of the network device:
- The default hostname for the cDAQ-9189 is cDAQ9189-<serial number>
- The default hostname for the FD-11613 is FD11613-<serial number>.
- The default hostname for the FD-11614 is FD11614-<serial number>.
Note If your network device does not appear in Available Devices, click Refresh List. If the network device still does not appear, contact your system administrator to confirm that the network is working and that a firewall is not interfering with discovery. For additional troubleshooting resources for the network devices, refer to Troubleshooting Network Issues in the Battery Test System Hardware User Manual. -
Click Add Selected Devices.
The cDAQ-9189 chassis and FieldDAQ device are added under the cRIO-9047 controller in the configuration tree. If the cDAQ-9189 or FieldDAQ device are not reserved automatically, select the device and click Reserve Network Device. After the chassis is reserved by the real-time controller, the modules in the chassis are visible in the MAX configuration tree.
-
Self-test your network devices in MAX:
- Expand , and right-click the cDAQ-9189 chassis or the FieldDAQ device.
-
Select Self-Test
Self-test performs a brief test to determine successful installation. When the self-test finishes, a message indicates successful verification or if an error occurred. If an error occurs, refer to ni.com/support.
-
(Recommended) Rename the C Series modules in the cDAQ-9189 chassis by selecting the module and entering a new name in
the Name field.
Note NI recommends renaming the C Series modules in the cDAQ-9189 by removing the serial number dependency. This enables you to reuse VeriStand projects across systems. NI recommends the following naming scheme: <Module_Number>-<Slot>-<Purpose>, for example, NI_9213-Mod1-Temperature.
-
Run a test panel in MAX:
- To test a module in the cDAQ-9189, expand , right-click the C Series module, and select Test Panels to open a test panel for the selected module.
- To test a FieldDAQ device, expand , right-click the bank of connectors in your FieldDAQ device, and select Test Panels.
If the test panel displays an error message, refer to ni.com/support. Click Close to exit the test panel.
Creating a System Report
- Launch MAX on the host computer.
- Expand in the configuration tree.
- Right-click NI cRIO-9047 and select Create Report.
- In the Custom Report Wizard window, select Custom report, then click Next.
- Ensure all items that you want to include in your report are selected, then click Next.
- Specify the location of the generated files. The MAX Report Wizard remembers the last location entered. The file name must have either a .htm or .html file extension.
- Click Generate to generate the report. Depending on the complexity of the selected system, the MAX Report Wizard may take a few minutes to complete.
- Click Finish to close the wizard and launch the report in your default browser.