Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to grab signed 10-bits images from camera link camera

Solved!
Go to solution

Dear all,

 

I have a custom-made camera that outputs signed 10-bits images through camera link grabber card (PCIe-1437).

The issue I met when I try to grab the images on MAX (Measurement and Acquisition Explorer) is the bit assignment in a 16-bits data.

I expect the assignment is as follows,

[+/-] | <- | <- | <- | <- | <- | <- | x | x | x | x | x | x | x | x | x |

However actual assignment was as follows,

1 | 0 | 0 | 0 | 0 | 0 | [+/-] | x | x | x | x | x | x | x | x | x |

Is there any way to fix this issue by changing commands in camera file (*.icd)

 

Best regards,

H. Yamada

0 Kudos
Message 1 of 6
(1,585 Views)

Hello, 

Have You used this when created Your  ".icd "? 

Also this link can be useful for You, and this one for more information about "PCIe-1437".

 

Regards. 

0 Kudos
Message 2 of 6
(1,548 Views)

Hi,

Thank you for your reply. Now I tried to create camera file (*.icd) with Camera File Generator (CFG) you recommend.

However, I could not find bit assignments in 16-bits data in CFG

 

Best regards,

H. Yamada

0 Kudos
Message 3 of 6
(1,540 Views)

Hello, 

Here is the link for helping with 16-bit files.

Also check this one, it might be because of Your camera. 

Regards.

0 Kudos
Message 4 of 6
(1,534 Views)

Hi,

 

Thank you for additional links to solve this issue.

I have already solved the bit-assignments on LabVIEW program (software).

Now I would like to find another way to solve this in a hardware (in PCIe-1437).

 

Best regards,

H. Yamada

0 Kudos
Message 5 of 6
(1,509 Views)
Solution
Accepted by topic author hidezo

Hi Yamada,

It should be fairly easy to fix this issue on Vision FPGA card like PCIe-1477.

When you program the Vision FPGA you have direct access to assign the pixels in hardware. 

You can look at example code "PCIe-1477 Getting Started.lvproj"

But I think it might be overkill if you can do it in software very quickly. 

If you have real need to do it in hardware then PCIe-1477 or PCIe1473R can do it as fast as the camera can go.

 

Thanks - Amit,

 

Amit Shachaf
0 Kudos
Message 6 of 6
(1,481 Views)