Unable to Call .NET DLL from LabVIEW Real-Time Target

Updated May 3, 2018

Reported In

Hardware

  • CompactRIO Controller
  • PXI Controller
  • CompactDAQ Controller

Software

  • LabVIEW Real-Time Module

Issue Details

I am starting to use the LabVIEW Real-Time Module to program a CompactRIO. I have some existing .NET code that I would like to be able to use. Can I build my .NET code into a DLL and call it from my LabVIEW Real-Time VI?

Solution

NI targets that are running LabVIEW Real-Time, such as CompactRIO or Real-Time CompactDAQ and PXI controllers, are not able to call .NET DLLs. The LabVIEW VIs that are normally used to access .NET functions, such as the .NET Constructor Node, are not available in the LabVIEW Functions Palette when programming for a LabVIEW Real-Time VI.

Additional Information

For more information regarding what is and isn't supported on NI Real-Time targets, you can refer to these documents, depending on which Real-Time operating system your target uses:

WAS THIS ARTICLE HELPFUL?

Not Helpful