Constructor

AravisCameranew

Declaration [src]

ArvCamera*
arv_camera_new (
  const char* name,
  GError** error
)

Description [src]

Creates a new ArvCamera. If name is null, it will instantiate the first available camera.

If the camera is a GigEVision, name can be either:

  • <vendor>-<model>-<serial>
  • <vendor_alias>-<serial>
  • <vendor>-<serial>
  • <user_id>
  • <ip_address>
  • <mac_address>

For example:

  • The Imaging Source Europe GmbH-DFK 33GX265-39020369
  • The Imaging Source Europe GmbH-39020369
  • TIS-39020369
  • 192.168.0.2
  • 00:07:48:af:a2:61

If the camera is a USB3Vision device, name is either:

  • <vendor_alias>-<serial>
  • <vendor>-<serial>
Available since:0.8.0

Parameters

name const char*
 

Name of the camera.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: ArvCamera
 

A new ArvCamera.

 The caller of the function takes ownership of the data, and is responsible for freeing it.