06-23-2015 10:01 AM
The NI-1742 does not have a FPGA. You should use a GigE or USB camera to acquire images directly from the 9068.
06-23-2015 02:48 PM
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
06-23-2015 03:40 PM
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.
06-23-2015 03:51 PM
yeah i know but how i cant acquire the image and send to fpga?? it is possible with RT no in The NI-1742??
06-23-2015 04:02 PM
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.
06-24-2015 09:53 AM
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
06-24-2015 04:31 PM
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
06-24-2015 05:06 PM
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.
06-24-2015 07:34 PM
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
06-25-2015 05:30 AM
hi
i resolved my problem i can excute the smart camera VI from host and get the image
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