Contains all nodes of a device or module. More...
Public Member Functions | |
None | download_file (self, str file_name, str file_selector_entry_name) |
Downloads a file from the camera via the GenApi file download. | |
None | load_settings (self, str file_name) |
Loads the node values from the gcs file and sets the node values accordingly. | |
cvb.Node | node (self, str name) |
Gets a node that is specified by the given name. | |
None | poll_nodes (self) |
Polls all nodes of this node map that have a polling time. | |
None | save_settings (self, str file_name, Optional[Union[List[cvb.Node], List[str]]] node_list) |
Saves all nodes or all nodes that are in a specific list. | |
str | to_json (self, Optional[List[cvb.Node]] nodes, Optional[Callable[[cvb.Node, str], None]] serialization_error_callback) |
Serializes the given nodes to json. | |
cvb.Node | try_get_node (self, str name) |
Tries to get a node that is specified by the given name. | |
None | upload_file (self, str file_name, str file_selector_entry_name) |
Uploads a file to the camera via the GenApi file upload. | |
Properties | |
available_files = property | |
List[str]: Gets the currently available file identifiers, which can be downloaded or uploaded. | |
description = property | |
str: Gets the descriptive text of this node map. | |
model_name = property | |
str: Gets the name of the model, that the XML description is for. | |
name = property | |
str: Name used to access this node map. | |
nodes = property | |
Dict[str, cvb.Node]: Get a dictionary that contains all nodes of this node map. | |
tool_tip = property | |
str: Gets the short descriptive text, if any is available. | |
transport_layer_namespace = property | |
str: Gets the transport layer type of the device. | |
vendor_name = property | |
str: Gets the name of the vendor, who created the XML description. | |
xml_file_schema_version = property | |
cvb.GenApiVersion: Gets the XML schema version. | |
xml_file_version = property | |
cvb.GenApiVersion: Gets the XML version. | |
Contains all nodes of a device or module.
None download_file | ( | self, | |
str | file_name, | ||
str | file_selector_entry_name ) |
Downloads a file from the camera via the GenApi file download.
file_name : str Complete path to the file in which the data is to be stored.
file_selector_entry_name : str Symbolic name of the EnumerationNode identifying the file to download.
None load_settings | ( | self, | |
str | file_name ) |
Loads the node values from the gcs file and sets the node values accordingly.
file_name : str The gcs file name.
cvb.Node node | ( | self, | |
str | name ) |
None save_settings | ( | self, | |
str | file_name, | ||
Optional[Union[List[cvb.Node], List[str]]] | node_list ) |
Saves all nodes or all nodes that are in a specific list.
file_name : str The gcs file name.
node_list : Optional[Union[List[cvb.Node], List[str]]] A list with either nodes to save or their names.
str to_json | ( | self, | |
Optional[List[cvb.Node]] | nodes, | ||
Optional[Callable[[cvb.Node, str], None]] | serialization_error_callback ) |
Serializes the given nodes to json.
nodes : Optional[List[cvb.Node]] The nodes to serialize. If not provided, all nodes of this nodemap will be serialized.
serialization_error_callback : Optional[Callable[[cvb.Node, str], None]] Callback to call when a node cannot be serialized. If not provided or none, an exception will be thrown when a node cannot be serialized.
str The json string.
cvb.Node try_get_node | ( | self, | |
str | name ) |
None upload_file | ( | self, | |
str | file_name, | ||
str | file_selector_entry_name ) |
Uploads a file to the camera via the GenApi file upload.
file_name : str Complete path to the file to store data to.
file_selector_entry_name : str Symbolic name of the EnumerationNode identifying the file to upload.
|
static |
str: Gets the name of the model, that the XML description is for.
Often this name does not match the information of the GenTL port (discovery information).
|
static |
str: Gets the name of the vendor, who created the XML description.
Often this name does not match the information of the GenTL port (discovery information).
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.