Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a reference example for the OCAM2 PXI and FPGA CameraLink camera

Hi,

 

I am using a OCAM2 camera with CameraLink "protocol".

 

My hardware is a PXI (Linux RT) with a FPGA PXIe 7976R. And also a NI 1483 module that makes the interface to CameraLink cables to FPGA. LabVIEW 2019.

I have already tried the exemples on LabVIEW but with no success. Tried to undesrtand the FVAL, DVAL and LVAL but I don`t know if I can switched to low state mode or anything like this. I don't have any data comming from camera yet.

 

The camera works in Full Mode (A,B,C,D,E,F,G,H).

The Serial Commands over CameraLink (only configurations) goes well, using an reference example modified code.

 

Does anyone have tried this? Could help?

Thanks

0 Kudos
Message 1 of 3
(2,546 Views)

Hi, researching through the ni forums I found a tutorial that can help you (I guess)  with your hardware issue. 

http://www.ni.com/tutorial/11412/en/

I hope this link can help you in a way.

 

0 Kudos
Message 2 of 3
(2,034 Views)

Hi, after several studies and calculation, one important thing that makes everything works fine is Reset FPGA every time a Configuration changes through Serial communication (Frame Rate etc.) inside the Cameralink protocol.

 

Everything works fine now on OCAM2, FPGA, Camera link, and RT (Linux PXI).

 

Tks,

Hugo

0 Kudos
Message 3 of 3
(754 Views)