User`s guide
Configuring Image Acquisition Object Properties
5-17
Viewing the Values of Object Properties
To view all the properties of an image acquisition object, with their current values,
use the get function. You can also use the inspect function to view a list of object
properties in the Property Inspector window, where you can also edit their values.
This example uses the get function to display a list of all the properties of the video
input object vid. “Viewing the Properties of a Video Source Object” on page 5-18
describes how to do this for video source objects.
If you do not specify a return value, the get function displays the object properties in
four categories: General Settings, Callback Function Settings, Trigger Settings, and
Acquisition Sources.
get(vid)
General Settings:
DeviceID = 1
DiskLogger = []
DiskLoggerFrameCount = 0
EventLog = [1x0 struct]
FrameGrabInterval = 1
FramesAcquired = 0
FramesAvailable = 0
FramesPerTrigger = 10
Logging = off
LoggingMode = memory
Name = M_RS170-matrox-1
NumberOfBands = 1
Previewing = off
ReturnedColorSpace = grayscale
ROIPosition = [0 0 640 480]
Running = off
Tag =
Timeout = 10
Type = videoinput
UserData = []
VideoFormat = M_RS170
VideoResolution = [640 480]
Callback Function Settings:
ErrorFcn = @imaqcallback
FramesAcquiredFcn = []
FramesAcquiredFcnCount = 0
StartFcn = []