MATLAB Answers

Imaqtool shows specific values for a device property but set(src,Property) doesn't specify those values

3 views (last 30 days)
I'm working on a camera configuration routine on 2012b for a gui that uses different cameras on various workstations. When I open imaqtool, several properties of the cameras have a fixed set of values but when I query those properties from the source object, MATLAB returns a message to the effect:
set(src,'Exposure')
The 'Exposure' property does not have a fixed set of property values.
I know it does, imaqtool knows it does. How can I find those values?

Accepted Answer

Benjamin Avants
Benjamin Avants on 14 Mar 2014
I found the answer. By querying the specific property with propinfo the ranges are returned.
propinfo(src,'Exposure')
ans =
Type: 'double'
Constraint: 'bounded'
ConstraintValue: [-7 -1]
DefaultValue: -7
ReadOnly: 'whileRunning'
DeviceSpecific: 1

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by