Error -61046 Using When Compiling FPGA Code That Uses External Clock

Updated Dec 21, 2022

Reported In

Hardware

  • PXI Digital Reconfigurable I/O Module
  • Digital Reconfigurable I/O Device
  • Digitizer Adapter Module for FlexRIO

Software

  • LabVIEW FPGA Module
  • LabVIEW

Issue Details

  • I am attempting to compile my FPGA code. In the code, I am attempting to wire an external clock in my R-series or FlexRIO card. When they compile that code, they get Error -61046

I'm getting error -61046  in the "NI 5761 - Low Speed Clock Select.lvproj" example for NI FlexRIO. The error message is:


Error -61046: An error was detected in the communication between the host computer and the FPGA target. If you are using any external clocks, make sure they are connected and within the supported specifications. Also, verify that the rate of any external clocks match the specified clock rates. If you are generating your clocks internally, please contact National Instruments Technical Support.

This error occurs after the compilation of the FPGA code is completed and the code is trying to run. 


 

Solution

We found several reasons why this error may occur. Here are some troubleshooting steps.
  1. Make sure you have connected an external clock signal that is within the supported specifications.
  2. Make sure that the NI RIO Server is running by searching in Windows search for "Services" and setting the Startup Type as Automatic.
  3. If using FlexRIO, Make sure the component-level Intellectual property (CLIP) chosen for the FlexRIO Adapter Module (FAM) is in the latest version. See instructions here.
  4. Check if you are able to run any built-in examples related to your Hardware.
If any of the previous steps work, it is possible that some bad installation or corrupted software is causing the issue. After uninstalling and reinstalling all the needed software, modules, and drivers, the error was gone.
The problem may be resolved by simply force reinstalling just LabVIEW FPGA module.