Adding and Configuring the Scan Engine Custom Device (C Series Modules in the cRIO-9047)
- Updated2024-10-31
- 3 minute(s) read
Adding and Configuring the Scan Engine Custom Device (C Series Modules in the cRIO-9047)
Complete the following steps to add the C Series modules in the cRIO-9047 to the system definition file:
- From the VeriStand Editor, launch System Explorer.
- Expand Controller and select Custom Devices in the configuration tree.
-
Right-click Custom Devices and select .
The custom device appears in the configuration tree.
-
Use the Scan Engine and EtherCAT Custom Device Settings page to configure the
following settings:
Figure 1. Scan Engine and EtherCAT Custom Device Settings Page 
- Enable Synchronize NI VeriStand to Scan Engine.
- Set Delay after FPGA Load (s) to 1.
-
Right-click Scan Engine and EtherCAT in the
configuration tree and select Auto-Detect Modules.
Note If you are configuring your Custom Device prior to having the hardware, right-click Scan Engine and EtherCAT in the configuration tree and select, select Add Local Chassis.
- In the window that opens, ensure that Set all modules to “Scan Engine” mode is selected and click OK.
-
Verify each C Series module for its appropriate slot and configure the module
settings according to the following table.
Module Configuration NI-9227 Use the AI channels to measure the HVIL current in A RMS. NI-9224/9228 Set the Conversion Time appropriately for your system needs. Use the AI channels to measure the cell/module voltage in volts.
NI-9225 Use the AI channels to measure the cell/module voltage in volts. NI-9860 This CAN module must be added as an NI-XNET device. Follow the steps in Adding NI-XNET CAN/LIN Devices. NI-9375 Use the DI channels to measure the state of the digital input. NI-9422 Set Specialty Mode to None. Use the DI channels to measure the state of the HVIL digital line.
NI-9375 Use the DO channels to control the state of a digital output. NI-9475 Set Specialty Mode to None. Use the DO channels to control the state of a digital output.
NI-9423/9437 Set Specialty Mode to Counter. Set Input Filter appropriately at the module level to reject signal noise.
Set Measurement Mode to Pulse Width Measurement.
Set Measurement Type to High Pulse or Low Pulse depending on your needs.
Use the CTR channels to measure the pulse width in μs.
Note You can pair this configuration with a VeriStand Scale if you want to convert the measured μs to Duty Cycle with a known frequency. Refer to Creating a Polynomial Scale and Mapping Scales to Channels in the VeriStand Manual for implementation details.NI-9475 Set Measurement Mode to Pulse Width Modulation. Set the output Frequency for each channel.
Use the PWM channels to change the duty cycle of the generated PWM.
NI-9870 This serial module is not configured as part of this process. NI-9482 Use the DO Channels to control the individual relays of the module. NI-9212 NI-9213
Set Conversion Time appropriately to meet your system needs. Set Enable Open Thermocouple Detection appropriately to meet your system needs.
Set Thermocouple Type and Measurement Units for each channel.
Use the thermocouple channels to measure the temperature in the selected units.
- Save the system definition file.