LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NIFPGA Python library freezes python when using FIFO

When I try to run fifo.start() with nifpga python library, my whole computer freezes. I can use other nifpga features successfully, but when I try to use fifos my computer freezes.

 

I'm having this same exact device, setup, and problem as mentioned in this post (https://forums.ni.com/t5/LabVIEW/NIFPGA-Python-library-freezes-Windows-when-using-FIFO/td-p/4226304) with the exception that I'm running Ubuntu 22.04 with kernel 5.15.0-41-generic instead of Windows. The accepted solution in that topic is to disable DMA protection but I already have it disabled according to these commands:

 

$ cat /sys/bus/thunderbolt/devices/domain0/iommu_dma_protection
0

$ cat /sys/bus/thunderbolt/devices/domain0/security
none

 

which according to this post should mean that DMA protection is disabled. 

 

So is there something else that should fix the problem? I have followed these instructions to install ni-ubuntu2004firstlook-drivers-2022Q2.deb from here and ni-rio 21.0 from here.

0 Kudos
Message 1 of 1
(878 Views)