CVBpy 14.1
DiscoveryInformation Class Reference

Stores information on a discovered device / node. More...

Inherits object.

Public Member Functions

str read_property (self, int prop)
 Gets the device property value as string. More...
 
None set_genapi_feature (self, str node_map_id, str feature_name, str feature_value)
 Sets a GenICam GenApi feature to be set with a new discover run or while opening a device via this information. More...
 
None set_parameter (self, str name, str value)
 Sets a custom GenTL Producer dependent parameter. More...
 

Properties

 access_token = property
 str: The access token for opening the device / node.
 
 discovery_layer = property
 int: Gets the highest module layer in this discovery information (see cvb.ModuleLayer).
 
 index = property
 int: Gets the index of this element in the list.
 

Detailed Description

Stores information on a discovered device / node.

Member Function Documentation

◆ read_property()

str read_property (   self,
int  prop 
)

Gets the device property value as string.

Parameters

prop : int The device property (see cvb.DiscoveryProperties).

Returns

str The property value as string.

◆ set_genapi_feature()

None set_genapi_feature (   self,
str  node_map_id,
str  feature_name,
str  feature_value 
)

Sets a GenICam GenApi feature to be set with a new discover run or while opening a device via this information.

Parameters

node_map_id : str ID of the node map to get.

feature_name : str Name of the GenApi feature to set.

feature_value : str Value of the GenApi feature to set.

◆ set_parameter()

None set_parameter (   self,
str  name,
str  value 
)

Sets a custom GenTL Producer dependent parameter.

Contact the support of the GenTL Producer to get a list of available parameters to set.

Parameter information for CVB GenTL Producers can be foun d in the GenICam User Guide.

Parameters

name : str Name of the parameter to set.

value : str Value of the parameter to set.