This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error 65673: Slot not Configured to the Correct Program Mode

Updated Apr 24, 2023

Reported In

Hardware

  • cRIO-9041
  • cRIO-9042
  • cRIO-9043
  • cRIO-9045
  • cRIO-9046
  • cRIO-9047
  • cRIO-9048
  • cRIO-9049
  • cRIO-9040
  • cRIO-9053
  • cRIO-9054
  • cRIO-9056
  • cRIO-9057

Driver

  • NI-DAQmx
  • NI CompactRIO

Issue Details

  • I'm trying to deploy systems for the CompactRIO with DAQmx (cRIO-904x and cRIO-905x), but the Replication and Deployment (RAD) utility does not set the Module Programming Modes for the new chassis and gives Error 65673.
  • I just upgraded from an older cRIO to a cRIO-9048. After adding the new cRIO and all the new C-Series Modules and editing all the names and adding all the files to the new target and adding the Ethercat devices, I finally tried compiling and running the project on the cRIO. However, the FPGA code gives Error 65673 because the C-Series Modules in the chassis were not configured to FPGA mode.
Error 65673 occurred at an unidentified location
Possible reason(s):
The slot is not configured to the correct program mode. Ensure the slot is configured to run in LabVIEW FPGA. ​​

Solution

This error can occur if you have not manually set the program mode. You can get and set the program mode three different ways: programmatically, through and NI Measurement and Automation Explorer (MAX) or LabVIEW Project.
 

Programmatically

The NI-DAQmx device driver support for the CompactRIO controllers includes properties that allow to programmatically read and set the Module Programming Modes for slots. To interact with these properties, also needed to install the NI System Configuration.

You can see an example of how to use these properties in Programmatically Reading and Setting the Module Programming Modes for CompactRIO. ​​​​​​​

NI MAX

Reference section 1 of the Using CompactRIO with the NI-DAQmx API, Select the Appropriate Programming Model, to see how to set the program mode for your modules. 
 

LabVIEW Project

To deploy the correct program mode in LabVIEW, open the LabVIEW Project window, Right-click Module and click Deploy.