Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

retrieve camera properties from camera using CameraFileGenerator

Hello,
 
I got today a camera link interface PCI-1426.
Using Measurement and Automation, I can already retrieve images.
And with the CameraFileGenerator, I can adjust setting defaults and setting range when these are different for my camera.
Is it possible (how?) to add with CameraFileGenerator camera properties that are "get" controls ?
 
I like to retrieve the camera type from the camera itself and I know which command to send.
I like to retrieve current camera settings before sending a reset command.
But I do not know how to enter such read-only strings/values in CameraFileGenerator.
 
Regards,
Jos
 
0 Kudos
Message 1 of 3
(3,105 Views)

You can send commands that get info from the camera, but there's not really a good way to use it in the camera file. I would recommend doing this in a programming language. You can call NI-IMAQ functions to send serial commands and read serial responses from the camera and then do operations programatically based on the camera response. 

Hope this helps,

Brad

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

Thanks Brad,

The information helps, but also it doesn't.

I want to access the camera from within matlab. But as this is not going as smooth as hoped for, I wanted a button for myself and other users in Measurement and Automation that retrieves and displays some camera information. At this moment I only see buttons to send new values such as gain and exposure time.

 

Thanks anyway, Jos 

0 Kudos
Message 3 of 3
(3,089 Views)