Aravis.GvFakeCamera

g Aravis.GvFakeCamera Aravis.GvFakeCamera GObject.Object GObject.Object GObject.Object->Aravis.GvFakeCamera

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (interface_name, serial_number)

class

new_full (interface_name, serial_number, genicam_filename)

get_fake_camera ()

is_running ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

genicam-filename

str

w/co

Genicam filename

gvsp-lost-ratio

float

w/c

GVSP lost packet ratio

interface-name

str

w/co

Interface name

serial-number

str

w/co

Serial number

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Aravis.GvFakeCamera(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Aravis.GvFakeCameraClass

Aravis.GvFakeCamera is a class that simulates a real GigEVision camera.

classmethod new(interface_name, serial_number)
Parameters:
  • interface_name (str or None) – listening network interface (‘lo’ by default)

  • serial_number (str or None) – fake device serial number (‘GV01’ by default)

Returns:

a new Aravis.GvFakeCamera

Return type:

Aravis.GvFakeCamera

New in version 0.8.0.

classmethod new_full(interface_name, serial_number, genicam_filename)
Parameters:
  • interface_name (str or None) – listening network interface, by name or IP address, default is 127.0.0.1

  • serial_number (str or None) – fake device serial number, default is GV01

  • genicam_filename (str or None) – path to alternative genicam data

Returns:

a new Aravis.GvFakeCamera

Return type:

Aravis.GvFakeCamera

New in version 0.8.0.

get_fake_camera()
Returns:

underlying fake camera object.

Return type:

Aravis.FakeCamera

Retrieves the underlying Aravis.FakeCamera object owned by self.

New in version 0.8.0.

is_running()
Returns:

True if the fake camera is correctly listening on the GVCP port

Return type:

bool

New in version 0.8.0.

Property Details

Aravis.GvFakeCamera.props.genicam_filename
Name:

genicam-filename

Type:

str

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

Genicam filename

Aravis.GvFakeCamera.props.gvsp_lost_ratio
Name:

gvsp-lost-ratio

Type:

float

Default Value:

0.0

Flags:

WRITABLE, CONSTRUCT

GVSP lost packet ratio

Aravis.GvFakeCamera.props.interface_name
Name:

interface-name

Type:

str

Default Value:

'127.0.0.1'

Flags:

WRITABLE, CONSTRUCT_ONLY

Interface name

Aravis.GvFakeCamera.props.serial_number
Name:

serial-number

Type:

str

Default Value:

'GV01'

Flags:

WRITABLE, CONSTRUCT_ONLY

Serial number