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

1 次查看(过去 30 天)
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?

采纳的回答

Benjamin Avants
Benjamin Avants 2014-3-14
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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by