Error -229800 When Running C# Code for NI-DAQ™mx Library

Updated Dec 10, 2024

Reported In

Driver

  • NI-DAQ™mx

Programming Language

  • C# .NET

Issue Details

NI-DAQmx throws error message {Error=-229800 Message="Internal Software Error occurred in MIG software. Please contact National Instruments Support."} when I try running C# code for the NI-DAQmx library to set voltage into a channel.

 

Error displayed by DAQmx in red box

The MAX test panel works and sets voltage correctly into AO channels. I verified this by using a multimeter. 

Why am I seeing this error?

Solution

This error occurs when a .NET application or code of version higher than version 4.8 calls the NI-DAQmx library. This is because we currently only support the .NET Framework, i.e., up to .NET 4.8.

 

Support for .NET 5 and above, i.e., .NET Core is on the roadmap for 2025.