07-27-2022 06:44 AM
Hi,
I am trying to run a LabVIEW-generated bitfile via a python API in FPGA. My OS is Ubuntu LTS 22.04 Jammy Jellyfish. The PC is connected to the FPGA via Thunderbolt cable. I am able to run the script just fine on Windows, but on Linux the program crashes when using FIFO's. I am able to run scripts that don't use FIFO's without issues. I have a suspicion that this might be caused by Thunderbolt DMA protection (based on this post: https://forums.ni.com/t5/LabVIEW/NIFPGA-Python-library-freezes-Windows-when-using-FIFO/td-p/4226304). However, I still haven't found out a solution.
I tried running the script on another computer, also using Ubuntu 22.04. The drivers installed are NI-RIO 21.0. The script crashes with error: nifpga.status.InvalidResourceNameError: Error: InvalidResourceName (-63192) when calling 'NiFpgaDll_Open'.
Are the NI-drivers compatible with Ubuntu 22.04 or have just missed something. Any kind of help would be greatly appreaciated.
07-28-2022 10:33 PM
I think this might have something to do with the RIO reference string. Try: lsni -v which will show RIOx association with your FPGA cards. Try the correct RIOx string when opening the FPGA reference. The RIO string might be different between Windows and Linux.
08-04-2022 06:53 AM
I tried your proposed solution and was faced with the following error message:
"libnipalu.so failed to initialize
Verify that nipalk.ko is built and loaded."
I could not find a way to fix it 😞
09-05-2022 07:19 AM
HI Multilocus,
Did you check this article before? Error -63192 When I Run My LabVIEW FPGA Code or FPGA Interface Python API - NI
It might be helpfull.