11-25-2022 03:05 AM - edited 11-25-2022 03:10 AM
I'm using LabVIEW 2021 SP1 (64bit) and X410 with a PCIe connection. I have trouble of the PCIe connection. The PCIe does not link. I'm using X410 with a shipped FPGA image. Do I need a special FPGA bitfile supporting PCIe?
11-25-2022 12:15 PM
It does support PCIe.
Can you share more details on what you have observed? Which steps are you following to setup the x410?
11-25-2022 09:36 PM
I'm using Ettus USRP X410. I connected the X410 and Windows PC by using NI PCIe-8398. The LED indicator near the external connector of the PCIe-8398 lights in amber color. The power on sequence is X410 -> wait 3 minutes -> PC.
I have tried updating the firmware and FPGA image with the X410 getting started guide. However, the problem did not resolve. In this operation, I used the following commands on the X410 console, which is provided with USB type-C on the X410.
Commands:
# uhd_images_downloader -t mender -t x4xx
# mender install /usr/share/uhd/images/usrp_x4xx_fs.mender
# reboot
# mender commit
# uhd_image_loader --args type=x4xx,mgmt_addr=127.0.0.1,fpga=X4_200
# reboot
11-26-2022 10:25 AM
I believe there is an ethernet connection required as well.
11-26-2022 10:17 PM
I connected ethernet and PCIe to the Windows PC. On the PC, uhd_find_devices command returns the X410 information. However, uhd_usrp_probe command returns "No devices found." I think the FPGA image flavor is wrong and the PCIe enabled FPGA image flavor is required.
12-06-2022 03:29 AM
Hello, have you solved this problem yet? How is it solved?
12-06-2022 05:58 AM
I recommend you reach out to NI support.
12-06-2022 06:07 AM
I asked about the problem to NI support. Then, I tried to change the FPGA image, which the support indicated. However, the problem was not resolved. I will post a message here after the problem is resolved
12-06-2022 05:45 PM
Hey, we have had to set up a few X410s over here and I have a couple basic problems that support didn't catch quite away.
1) The PCIe connection isn't hot swappable, so if you connect the radio and PC, make sure you restart both the radio and computer. X410 boot up takes about 45 seconds so I would give it a minute before you turn on the PC again.
2) You do need the ethernet connected to run the X410 in LabVIEW and I believe for some of the uhd commands. If you have the ethernet connected directly to your PC you need to manually set the IP address in a file on the radio. the file is called eth0.network and you can access it by sshing into the radio and navigating to /data/network/ and opening it with vi or some terminal text editor. Don't have the radio in front of me right now so I can't tell you exactly what changes we made to the file but if you have a direct ethernet connection (no network switch) to the X410 and haven't touched this file I can go in and find what we set our IP address to and relay it to you. By default it sets an IP address via a DHCP server or something along those lines and we've always had to change this file manually to access it with our PCs. And I should say this was with instruction from a support engineer so we weren't just going into our radio and changing files willy-nilly.
12-11-2022 10:12 PM
Hi Mike,
Thanks for good points. Actually, I had the problem with direct connecting of USRP X410 to PC, and as you mentioned clearly and as X410 Getting Started Guide recommend, we need to set the static IP address for X410 USRP and host.
BTW, after updating the file systems and firmware and other setting based on X410 Getting Started Guide, when I want to run simple TX or RX examples in LabVIEW, I am receiving this error, I was wondering if you had similar error:
niUSRP Configure Signal.vi<ERR> A runtime or configuration error occurred.
Code: 1359
Details: RuntimeError: Graph edge list is empty for tx cannel 0.
also, I see at the error out display this code: -1074118627