06-01-2017 06:58 AM
Hi,
I am using NI myrio-1900. A usb webcam is connected to it. I want to capture real time images and then send it to PC for further processing. Can someone tell me how to transfer image:-
1. from Myrio RT to host PC.
2. from FPGA to host PC.
3. from FPGA to RT.
06-06-2017 08:34 PM
If you are just looking to capture images on the myRIO and send them to a host PC you shouldn't need to involve the FPGA but here is how I would transfer the images.
1. RT to PC - Network Streams
2. FPGA to Host PC - Combination of 1 and 3 (FPGA to RT then RT to Host)
3. FPGA to RT - DMA FIFO
Assuming you are using the IMAQ driver, you aren't going to be able to transfer the IMAQ image references though so you are going to have to use the image to array function to get a 2D pixel array before sending it over network stream of FIFO. On the other end you can just build another image reference using the array to image function.