Error -89125 in Version 17.x of NI-DAQmx or NI-Switch

Updated Dec 28, 2023

Reported In

Hardware

  • PXI Multifunction I/O Module
  • PXI Multiplexer Switch Module

Driver

  • NI-DAQmx 17.0
  • NI-DAQmx 17.1
  • NI-DAQmx 17.5
  • NI-DAQmx 17.6
  • NI-SWITCH 17.0
  • NI-SWITCH 17.5

Issue Details

I upgraded my NI-DAQmx or NI-Switch driver to version 17.x and a project that was working on previous versions, now gives me error -89125 or -1074107494 (the second time I execute the project), with the following message:

No registered trigger lines could be found between the devices in the route.
 
 
  • If I reboot the system, the project can be executed once more, but the second time it still returns the error.
  • My chassis is correctly identified and configured in NI MAX and I get this error even if there is no synchronization involved.
  • Resetting the NI MAX Database and repairing/reinstalling the NI-Switch or NI-DAQmx drivers don't improve the behavior.

Solution

This is an issue with NI-DAQmx 17.x and was fixed in NI-DAQmx 18.0. To solve this problem, upgrade to NI-DAQmx 18.0 or later .

Additional Information

As of version 17.6, NI-Switch relies on NI-DAQmx for some of its functionality, so even if no DAQ cards are being used, NI-Switch can return this error.