Error 65673: Slot not Configured to the Correct Program Mode

Updated Dec 17, 2019

Reported In


  • 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


  • 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. ​​


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.


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.

Attached below are VIs to get and set the Module Property Mode (Get Programming and Set Programming, as well as a higher-level VI to save Module Programming Modes to a file and retrieve them from that same file at a later date. You can also find an example in the LabVIEW Example Finder called 904x Basics-Mode Switching.

DISCLAIMER: The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms.


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.