Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to grab the image on Camera File Generator ?

Hi,

FG:PCI-1428
Camera:Please see the picture that I have attached

Now I make a camera file on PCI-1428, When I clicked the "grab" the image on Camera File Generator, Timeout come up. I expect the reason that camera line_valid is not same timing of Pixel data. Is it possible to grab the image from such data timing like this camera ? If it is possible, how to grab the whole image ?

Best regards,
KW_nacacho

0 Kudos
Message 1 of 9
(4,895 Views)

Please provide more information.  Need to know the camera Make and Model.  Posting the generated camera file will also help resolve your issue quickly.

 

Best,

 

MoviJOHN

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 9
(4,877 Views)

Hi,

Camera Maker: Takenaka
Model: TL-7450UCL

I have attached the whole document that I have. I can grab the image that width is less than around 512. However grabbed image was black(even set long exposure time).

Best,
KW_nacacho


Download All
0 Kudos
Message 3 of 9
(4,870 Views)

Hi KW_nacacho!

 

It would help to have some more information regarding your application.

Where did you get the camera file you posted? Was this provided by the company, or are you making this camera file yourself?

Are you still getting a timeout error, or was that issue resolved?

What exposure time did you try setting?

 

Thanks!

Emily C
Applications Engineer
National Instruments
0 Kudos
Message 4 of 9
(4,848 Views)

Have a look in you camera ICD file, in the 1428 section.

 

A few things in there you will want to experiment with.

 

AcquisitionWindow (0, 0, 256, 128)

 

It strikes me as odd that you camera has a sensor resolution of 7000+ pixels, but the window width is only set to 256x128.

 

I think it should read

 

AcquisitionWindow (0, 0, 7450, 512)

 

and this should match with part of the

 

MaxImageSize (7450, 512), although since you are using a 1428 Frame Grabber, which has 16MB of memory, you should be able to grab an Max Image Size of roughly 7450x1100 or 7450x2200 (not sure which is correct).

 

You can try changing

 

DetectPCLK (Yes)

 

to

 

DetectPCLK (No)

 

Your results may vary, but I've had success in the past with this.

 

Lastly, your timeout is 1000.  Change

 

FrameTimeout (1000)

 

to something larger, like

 

FrameTimeout (60000)

 

and see what happens.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 5 of 9
(4,842 Views)

Hi Emily,

I made this camera file by myself(I understand that NI does not support). I still receive timeout.
Exposure time is around 1.4m second. Can NI Frame grabber grab the whole image without non-same timing line valid and pixel data ? I have succeed with another camera whose line valid and pixel data timing were same.

 

Best,

 

0 Kudos
Message 6 of 9
(4,824 Views)

Hi MoviJOHN,

When I changed the DetectPCLK. different message came up. Changing the timeout FrameTimeout (60000), it does not help to grab the image.


Best,

0 Kudos
Message 7 of 9
(4,823 Views)

Is the camera configured to run in freerun mode?

 

If the manufacturer has a utility for communicating with the camera, or if the ICD supports a FACTORY DEFAULT command, try and get the camera into a known state.  It is possible that there are errors in your camera file.  Trial and error is a good approach, as long as you are methodical, and only change one thing at a time.

 

If I'm not mistaken, there is a terminal in the camera file generator to talk to the CameraLink serial port.  See if you can dump the camera configuration parameters using that.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 8 of 9
(4,817 Views)

I think the OnBoardClock is 50, not 20.  Where does this value come from?

 

Also, SerialDisabled is set to YES.  I don't think you can get commands to the camera this way.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 9 of 9
(4,815 Views)