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

2 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

Benjamin Avants
Benjamin Avants am 14 Mär. 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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by