Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

NILinux2022Q1DeviceDrivers/ni-rhel8-drivers-2022Q1.rpm

$
0
0

I downloaded and installed the NILinux2022Q1DeviceDrivers/ni-rhel8-drivers-2022Q1.rpm archive on a Red Hat 8.6 pc.

I wrote a small c program to communicate with a GPIB instrument and it executes as expected.

 

When I use the debugger to follow the program flow and when I try to step over the command:

if ((err = viOpenDefaultRM (&defaultRM)) != VI_SUCCESS)
{
visa_err_handler(defaultRM, VI_NULL, VI_NULL, __LINE__, err);
ret_val = -1;
}

The debugger freezes with the message:

(gdb) next
0x00007ffff713816e in _dl_catch_exception () from /lib64/libc.so.6
Missing separate debuginfos, use: yum debuginfo-install libiotracelog-21.5.0.49393-0+f241.x86_64 libniqpxi1-21.8.0.49254-0+f102.x86_64 ni-pal-21.8.0.49291-0+f139.x86_64 ni-visa-passport-enet-21.5.0.49251-0+f99.x86_64 ni-visa-passport-enet-serial-21.5.0.49251-0+f99.x86_64 ni-visa-passport-gpib-21.5.0.49252-0+f100.x86_64 ni-visa-passport-pxi-21.5.0.49252-0+f100.x86_64 ni-visa-passport-remote-21.5.0.49250-0+f98.x86_64 ni-visa-passport-serial-21.5.0.49251-0+f99.x86_64
(gdb)

 

When I place a breakpoint before and after the command and use the continue command:

if ((err = viOpenDefaultRM (&defaultRM)) != VI_SUCCESS)
{
visa_err_handler(defaultRM, VI_NULL, VI_NULL, __LINE__, err);
ret_val = -1;
}

The code executes as expected.

 

I executed the yum command suggested by the error message but the problem isn't solved.

Only the viOpenDefaultRM command seems to have this problem.

 

Any suggestions on how to fix this issue?


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>