The functions in this section provide access to information, objects, and functionality related to nodemaps. This includes nodes, node counts, and polling.
More...
The functions in this section provide access to information, objects, and functionality related to nodemaps. This includes nodes, node counts, and polling.
◆ spinNodeMapGetNode()
Retrieves a node from the nodemap by name.
- See also
- spinError
- Parameters
-
| hNodeMap | The node map where the node is |
| pName | The name of the node |
| phNode | The node handle pointer in which the node is returned |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
- Examples
- Acquisition_C.c, AcquisitionMultipleCamera_C.c, ChunkData_C.c, Enumeration_C.c, EnumerationEvents_C.c, Exposure_C.c, Exposure_C_Quickspin.c, ImageEvents_C.c, ImageFormatControl_C.c, ImageFormatControl_C_Quickspin.c, LookupTable_C.c, NodeMapCallback_C.c, NodeMapInfo_C.c, SaveToVideo_C.c, Sequencer_C.c, Trigger_C.c, and Trigger_C_QuickSpin.c.
◆ spinNodeMapGetNodeByIndex()
Retrieves a node from the nodemap by index.
- See also
- spinError
- Parameters
-
| hNodeMap | The node map where the node is |
| index | The index of the node |
| phNode | The node handle pointer in which the node is returned |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinNodeMapGetNumNodes()
Gets the number of nodes in the map.
- See also
- spinError
- Parameters
-
| hNodeMap | The node map where the nodes to be counted are |
| pValue | The unsigned integer pointer in which the number of nodes is returned |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinNodeMapPoll()
Fires nodes which have a polling time.
- See also
- spinError
- Parameters
-
| hNodeMap | The nodemap to poll |
| timestamp | The timestamp |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinNodeMapReleaseNode()
Releases the entry node handle.
Make sure node handle is cleaned up properly by setting it to NULL after the node is released. If this function is not explicitly called, the handle will be released upon the release of the camera handle.
- See also
- spinCameraRelease
-
spinError
- Parameters
-
| hNodeMap | The node map from which the node handle is retrieved |
| hNode | The node handle to be released |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error