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)
- 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.
- 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
- 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
- GetSchemaVersion(self, Version)¶
Parameters¶
Version: Spinnaker::GenICam::Version_t &
Get the schema version number
- 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
- 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