User`s guide

11 Using the GigE Vision Interface
11-6
The list of available properties is specific to your camera. The display of properties
is broken into categories based on GenICam categories as specified by camera
manufacturers. For example, in the display shown here, you can see a set of device
control properties, and a set of acquisition control properties. There are other categories
not shown in this graphic, such as analog control, convolver, and image format control.
The GigE Vision category standard also provides levels of expertise for the available
categories. When you create the gigecam object, you see a small set of commonly
used properties with links to the expanded property list based on expertise. To see the
additional properties, click Beginner, Expert, or Guru.
Set GigE Properties
You can set properties two different ways — as additional arguments when you create
the object using the gigecam function, or anytime after you create the object using the
syntax shown in this section.
Set a Property When Creating the Object
When you use the gigecam function with no arguments, it creates the object and
connects to the single GigE Vision Compliant camera on your system, or to the first
camera it finds listed in the output of the gigecamlist function if you have multiple
cameras. If you use an argument to create the object — either an IP address, index
number, or serial number — as described in “Create the gigecam Object” on page
11-9, that argument must be the first argument.
g = gigecam('169.254.242.122')
To set a property when creating the object, it must be specified as a name-value pair
after the IP address, index number, or serial number. The following command creates
the object using the camera on the IP address used as the first argument, then sets the
PixelFormat property to Mono10.
g = gigecam('169.254.242.122', 'PixelFormat', 'Mono10')
If you are creating the object with just one camera connected, you can use the index
number 1 as the first input argument, then a property-value pair.
g = gigecam(1, 'PixelFormat', 'Mono10')
You can set multiple properties in this way, and you can use pairs of either strings or
numerics.