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 *

Connects a port to the standard port “Device”

Destroy(self)

Destroys the node map

DisableAutoPoll(self)

Disable automatic polling to fire nodes at regular intervals.

EnableAutoPoll(self, ElapsedTime)

Parameters

ElapsedTime: int64_t

Enable automatic polling to fire nodes at regular intervals based on the specified polling duration.

GetDeviceName(self) gcstring

Get device name

GetDeviceVersion(self, Version)

Parameters

Version: Spinnaker::GenICam::Version_t &

Get the version of the device description file

GetGenApiVersion(self, Version, Build)

Parameters

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

Get the version of the DLL’s GenApi implementation

GetModelName(self) gcstring

Get the model name

GetNode(self, key) INode

Parameters

key: Spinnaker::GenICam::gcstring const &

Retrieves the node from the central map by name

GetNodeMapHandle(self) void *
GetNodes(self)

Retrieves all nodes in the node map

GetNumNodes(self) uint64_t

Get the number of nodes in the map

GetProductGuid(self) gcstring

Get the GUID describing the product

GetSchemaVersion(self, Version)

Parameters

Version: Spinnaker::GenICam::Version_t &

Get the schema version number

GetStandardNameSpace(self) gcstring

Get the standard name space

GetSupportedSchemaVersions(self)

Gets a list of supported schema versionsEach 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

Get tool tip

GetVendorName(self) gcstring

Get the vendor name

GetVersionGuid(self) gcstring

Get the GUID describing the product version

InvalidateNodes(self)

Invalidates all nodes

LoadXMLFromFile(self, FileName)

Parameters

FileName: Spinnaker::GenICam::gcstring

Creates the object from a XML file with given file name

LoadXMLFromFileInject(self, TargetFileName, InjectFileName)

Parameters

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

Creates the object from a XML target and an inject file with given file name

LoadXMLFromString(self, XMLData)

Parameters

XMLData: Spinnaker::GenICam::gcstring const &

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 &

Creates the object from XML data given in a string with injection

LoadXMLFromZIPData(self, zipData, zipSize)

Parameters

zipData: void const * zipSize: size_t

Creates the object from a ZIP’d XML file given in a string

LoadXMLFromZIPFile(self, ZipFileName)

Parameters

ZipFileName: Spinnaker::GenICam::gcstring

Creates the object from a ZIP’d XML file with given file name

Poll(self, ElapsedTime)

Parameters

ElapsedTime: int64_t

Fires nodes which have a polling time