Error 15 or -2147467261 at Initialize Session VI on Real-Time Target

Updated Aug 3, 2023

Reported In

Hardware

  • CompactRIO Controller
  • PXI Controller

Software

  • LabVIEW Real-Time Module
  • LabVIEW
  • System Configuration

Operating System

  • NI Linux Real-Time
  • PharLap

Issue Details

I have an application that uses the System Configuration API. When I run my application on my Real-Time target, LabVIEW throws error 15 or error -2147467261 after the Initialize Session VI, as described below: 

Error 15 occurred at Call Library Function Node
Possible reason(s):
LabVIEW:  Resource not found.


Error -2147467261 occurred at an unidentified location
Possible reason(s):
LabVIEW:  (Hex 0x80004003) Invalid pointer.
=========================
NI System Configuration: A required pointer parameter was NULL.



This application worked correctly before in this same target. Why am I getting this error, and how can I correct this?

Solution

This is a known issue related to the version of NI System Configuration in Real-Time systems; this happens when the host computer has NI System Configuration 17.5 installed and the RT target has NI System Configuration 17.0 or previous version installed.

To correct this, upgrade to NI System Configuration 17.5 or later on the system running the Initialize Session VI and redeploy the application. If the system is a real-time target, you can upgrade your software using the LabVIEW Real-Time Software Wizard in NI MAX. 

 

Additional Information

The cause of this issue is the error reported on CAR 678951; the details of this can be found in System Configuration 17.5 Known Issues .