PySpin.NodeMap

class NodeMap(*args)

Smart pointer template for NodeMaps with create function.

Parameters:

TCameraParams – The camera specific parameter class (auto generated from camera xml file)

static ClearXMLCache() bool
Connect(self, pPort, PortName) bool

Parameters

pPort: IPort * PortName: Spinnaker::GenICam::gcstring const &

Connect(self, pPort) -> bool

Parameters

pPort: IPort *

Spinnaker::GenApi::NodeMap::Connect Connects a port to the standard port “Device”

Destroy(self)

Spinnaker::GenApi::NodeMap::Destroy Destroys the node map

DisableAutoPoll(self)

Spinnaker::GenApi::NodeMap::DisableAutoPoll Disable automatic polling to fire nodes at regular intervals.

EnableAutoPoll(self, ElapsedTime)

Parameters

ElapsedTime: int64_t

Spinnaker::GenApi::NodeMap::EnableAutoPoll Enable automatic polling to fire nodes at regular intervals based on the specified polling duration.

GetDeviceName(self) gcstring

Spinnaker::GenApi::NodeMap::GetDeviceName Get device name

GetDeviceVersion(self, Version)

Parameters

Version: Spinnaker::GenICam::Version_t &

Spinnaker::GenApi::NodeMap::GetDeviceVersion Get the version of the device description file

GetGenApiVersion(self, Version, Build)

Parameters

Version: Spinnaker::GenICam::Version_t & Build: uint16_t &

Spinnaker::GenApi::NodeMap::GetGenApiVersion Get the version of the DLL’s GenApi implementation

GetModelName(self) gcstring

Spinnaker::GenApi::NodeMap::GetModelName Get the model name

GetNode(self, key) INode

Parameters

key: Spinnaker::GenICam::gcstring const &

Spinnaker::GenApi::NodeMap::GetNode Retrieves the node from the central map by name

GetNodeMapHandle(self) void *

Spinnaker::GenApi::NodeMap::GetNodeMapHandle

GetNodes(self)

Spinnaker::GenApi::NodeMap::GetNodes Retrieves all nodes in the node map

GetNumNodes(self) uint64_t

Spinnaker::GenApi::NodeMap::GetNumNodes Get the number of nodes in the map

GetProductGuid(self) gcstring

Spinnaker::GenApi::NodeMap::GetProductGuid Get the GUID describing the product

GetSchemaVersion(self, Version)

Parameters

Version: Spinnaker::GenICam::Version_t &

Spinnaker::GenApi::NodeMap::GetSchemaVersion Get the schema version number

GetStandardNameSpace(self) gcstring

Spinnaker::GenApi::NodeMap::GetStandardNameSpace Get the standard name space

GetSupportedSchemaVersions(self)

Spinnaker::GenApi::NodeMap::GetSupportedSchemaVersions Gets a list of supported schema versions

Each list entry is a string with the format “{Major}.{Minor}” were {Major} and {Minor} are integers Example: {“1.1”, “1.2”} indicates that the schema v1.1 and v1.2 are supported. The SubMinor version number is not given since it is for fully compatible bug fixes only

GetToolTip(self) gcstring

Spinnaker::GenApi::NodeMap::GetToolTip Get tool tip

GetVendorName(self) gcstring

Spinnaker::GenApi::NodeMap::GetVendorName Get the vendor name

GetVersionGuid(self) gcstring

Spinnaker::GenApi::NodeMap::GetVersionGuid Get the GUID describing the product version

InvalidateNodes(self)

Spinnaker::GenApi::NodeMap::InvalidateNodes Invalidates all nodes

LoadXMLFromFile(self, FileName)

Parameters

FileName: Spinnaker::GenICam::gcstring

Spinnaker::GenApi::NodeMap::LoadXMLFromFile Creates the object from a XML file with given file name

LoadXMLFromFileInject(self, TargetFileName, InjectFileName)

Parameters

TargetFileName: Spinnaker::GenICam::gcstring InjectFileName: Spinnaker::GenICam::gcstring

Spinnaker::GenApi::NodeMap::LoadXMLFromFileInject Creates the object from a XML target and an inject file with given file name

LoadXMLFromString(self, XMLData)

Parameters

XMLData: Spinnaker::GenICam::gcstring const &

Spinnaker::GenApi::NodeMap::LoadXMLFromString Creates the object from XML data given in a string

LoadXMLFromStringInject(self, TargetXMLDataconst, InjectXMLData)

Parameters

TargetXMLDataconst: Spinnaker::GenICam::gcstring const & InjectXMLData: Spinnaker::GenICam::gcstring const &

Spinnaker::GenApi::NodeMap::LoadXMLFromStringInject Creates the object from XML data given in a string with injection

LoadXMLFromZIPData(self, zipData, zipSize)

Parameters

zipData: void const * zipSize: size_t

Spinnaker::GenApi::NodeMap::LoadXMLFromZIPData Creates the object from a ZIP’d XML file given in a string

LoadXMLFromZIPFile(self, ZipFileName)

Parameters

ZipFileName: Spinnaker::GenICam::gcstring

Spinnaker::GenApi::NodeMap::LoadXMLFromZIPFile Creates the object from a ZIP’d XML file with given file name

Poll(self, ElapsedTime)

Parameters

ElapsedTime: int64_t

Spinnaker::GenApi::NodeMap::Poll Fires nodes which have a polling time