Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA BCGLookup VI

The NI-1742 does not have a FPGA. You should use a GigE or USB camera to acquire images directly from the 9068.

0 Kudos
Message 21 of 44
(2,963 Views)

hi

i can't because in the company they have only The NI-1742

i can acquire the image with the NI-1742 but my problem is how i can acquire the image and send her to fpga to analyse and get the resulet in host

it is complicate  because i think i must create vi in  NI-1742 to acqiure and send the image to fpga  and in fpga i create VI to analyse this image 

and in host i create the Vi to excute the vi from The NI-1742 and the fpga 

 

 

0 Kudos
Message 22 of 44
(2,957 Views)

Is the processing on the Smart Camera too slow that you want to do it on the FPGA?

You know that the 1742 has a processor that can run your whole algorithm, right.

0 Kudos
Message 23 of 44
(2,951 Views)

yeah i know but how i cant acquire the image and send to fpga?? it is possible with RT no in The NI-1742??

0 Kudos
Message 24 of 44
(2,948 Views)

It is possible. You need to first access the image from a VI running on the cRIO, then the cRIO can send it to the FPGA.

The easiest way to do it is to use an image variable.

In the same project, add both the cRIO and the smart camera. Under the Smart camera, for example, create a variable of time image.

Write that variable in the VI that acquires the image on the smart camera, and read it on the VI that runs on the cRIO.

But I assume the transfer over Ethernet will be slow, and there is not really a point of doing FPGA processing with such an architecture...

I would recommend getting either a GigE or USB 2.0 industrial camera and connect it to the cRIO.

0 Kudos
Message 25 of 44
(2,946 Views)

but in company where i do my end of study project they have only this camera

My problem is to how i create this connection between cRIO and Smart camera ??

how i can create Vi in cRIO to excute and get the image from VI in to smart camera ? i create the global  variable for image but is dosen't work 

0 Kudos
Message 26 of 44
(2,926 Views)

Here is a simple example that shows how to transfer images from a smart camera to a cRIO. Edit the targets to specify the correct IP addresses and it should work as it.

 

Best regards,

 

Christophe

0 Kudos
Message 27 of 44
(2,910 Views)

I forgot to mention. For the code to work, you must make sure that the Network Variable Engine and Variable Client Support are installed on both the Smart Camera and cRIO.

You can install them from NI-MAX.

0 Kudos
Message 28 of 44
(2,904 Views)

thanks

I hope that im not bother you ?

but in you excemple im must run the Smart Camera Acquisition.vi and after that i go to run cRIO Main.vi , what i mean it is i want when i run the hoset VI , the smart camera VI run automatic and give me the image i want to get image by image not sequence. i don't know if you understand me ?

thanks again 

0 Kudos
Message 29 of 44
(2,906 Views)

hi 

i resolved my problem i can excute the smart camera VI from host and get the image Smiley Happy

but know i have another problem when i Drag the IVA Vision FPGA.VI  from My RT to Computer and i run  i can display the image but i can't desplay the histogram and i can't use the BCG Values to improved the image 

thanks a gain 

0 Kudos
Message 30 of 44
(2,899 Views)