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

2 ビュー (過去 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