Error 15 Occurred at Call Library Function Node in NI Linux RT

Updated Oct 2, 2024

Reported In

Software

  • LabVIEW

Operating System

  • LabVIEW Real-Time (NI Linux Real-Time)

Issue Details

When I am using Call Library Function Node to call a .so shared library in NI Linux RT target, the following error is reported:
Error 15 occurred at Call Library Function Node in Test.vi

Possible reason(s):

LabVIEW: (Hex 0xF) Resource not found.
=========================
Serial poll byte queue overflow.

Solution

You might have configured a Function Name in Call Library Function Node that is not exported by the shared library. You can access the shell and check the exported function by calling nm -D  <FileName>.so.  on the directory /usr/local/lib
If -bash: nm: command not found is returned, connect the NI Linux RT target to internet and call opkg update  and them opkg install binutils to install the utility.

You should get an output like this:

shell.png

On the Function name you need to input the full name: 

functionname.png