08-01-2018 07:26 AM
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
08-02-2018 08:44 AM
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?
08-02-2018 02:10 PM
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.
08-03-2018 07:50 AM
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.