Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

connecting to FPGA with python API from remote computer

I wounder if it possible to interface FPGA target with python API but from a remote computer?

if so how to configure?

Thanks for the help 

0 Kudos
Message 1 of 4
(2,794 Views)

Our Python FPGA documentation is available here:

https://nifpga-python.readthedocs.io/en/latest/

 

Can you describe for us in a little more detail exactly what you mean by remote computer?

Also what FPGA target are you using?

Dane S.
Product Support Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,772 Views)

I'm using PXIe-7856 fpga in PXIe-1073 that is connceted to a host computer. From the host computer I can interface the target with the pyhon API, however I would like to interface the target from a different computer that is connceted to the host computer via LAN.

From the remote computer, I try something like:

with Session(bitfile="mybitfile.lvbitx", resource="rio://hostComputerIP/FPGA_2") as session: ...

but got an error that the resource could not be found.

Thanks.

0 Kudos
Message 3 of 4
(2,767 Views)

Hm, might be due to permissions on the RIO Server.

I'm guessing the PXIe-1073 is controller from the host computer via MXIe?

If so, then I think the RIO Server on the host computer is what would provide the RIO resource to the remote computer. Make sure the RIO Server is on on the host computer and allows connections from the remote computer.

 

PS this KnowledgeBase article shows how to check that the RIO Server is on.

Andrew T.
"His job is to shed light, and not to master" - Robert Hunter
0 Kudos
Message 4 of 4
(2,760 Views)