LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access to serial and ethernet port in FPGA for cRIO-9068

hi

i want to know if i can Access to serial and ethernet port in FPGA for cRIO-9068 like camera IP

thanks for help

0 Kudos
Message 1 of 5
(3,017 Views)

Yeah is completly possible,

 

Check this link:

 

https://decibel.ni.com/content/docs/DOC-30232/version/3

Randy @Rscd27@
0 Kudos
Message 2 of 5
(2,987 Views)

thanks

but how i can i acquire image with IP camera and fpga ???

0 Kudos
Message 3 of 5
(2,980 Views)
I'm not sure about the serial port, but the Ethernet port is only accessible from the host CPU (RT), not FPGA. Additionally, you would run into issues because typically IP cameras use higher level protocols like TCP and compression schemes like JPEG or H264. All of these would be impractical to access from the FPGA.

The NI-IMAQdx driver can acquire from a few brands of IP cameras and then there are VIs provided to move the image down to the FPGA for processing if you want to do it there rather than the CPU.
0 Kudos
Message 4 of 5
(2,968 Views)

@dalyto wrote:

thanks

but how i can i acquire image with IP camera and fpga ???


The Ethernet hardware interface in the cRIO is not directly connected to the FPGA backplane in a way that you could directly access it. Even if you could it would be a pretty bad idea to try to do. A fully operational TCP/IP network stack implementation in the FPGA would not leave much resources for anything else even on the biggest FPGAs available. That doesn't include support for the typical image compression algorithmes which are even more complicated to implement on FPGA. Even if you would go to highly optimized VHDL code directly it would be a pretty difficult thing to do!

 

In fact implemenintg the MAC and PHY of an ethernet interface on the FPGA is totally trivial in comparison. The IP level could also be implemented fairly easily in the FPGA but anything above that is going to give you bad headaches and still will be very limited in number of connections and packet sizes it can support.

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 5
(2,950 Views)