Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Returns the current value of the counter included in the payload of the image.

Name

ChunkCounterValue[ChunkCounterSelector]

Category

ChunkDataControl

Interface

Integer

Access

Read

Unit

-

Visibility

Expert

Values

0 ... 16777215
Increment: 1

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Code example

C++

// Before accessing ChunkCounterValue, make sure ChunkCounterSelector is set correctly
// Set ChunkCounterSelector to "Counter0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkCounterSelector")->SetCurrentEntry("Counter0");
// Determine the current ChunkCounterValue
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("ChunkCounterValue")->Value();

C#

// Before accessing ChunkCounterValue, make sure ChunkCounterSelector is set correctly
// Set ChunkCounterSelector to "Counter0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkCounterSelector").SetCurrentEntry("Counter0");
// Determine the current ChunkCounterValue
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("ChunkCounterValue").Value();

Python

# Before accessing ChunkCounterValue, make sure ChunkCounterSelector is set correctly
# Set ChunkCounterSelector to "Counter0" (str)
nodeMapRemoteDevice.FindNode("ChunkCounterSelector").SetCurrentEntry("Counter0")
# Determine the current ChunkCounterValue (int)
value = nodeMapRemoteDevice.FindNode("ChunkCounterValue").Value()

© 2024 IDS Imaging Development Systems GmbH