Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Reads the current value of the selected timer.

Name

TimerValue[TimerSelector]

Category

CounterAndTimerControl

Interface

Float

Access

Read

Unit

µs

Visibility

Expert

Values

0 ... 167777215
Increment: 1

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Code example

C++

// Before accessing TimerValue, make sure TimerSelector is set correctly
// Set TimerSelector to "Timer0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerSelector")->SetCurrentEntry("Timer0");
// Determine the current TimerValue
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("TimerValue")->Value();

C#

// Before accessing TimerValue, make sure TimerSelector is set correctly
// Set TimerSelector to "Timer0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerSelector").SetCurrentEntry("Timer0");
// Determine the current TimerValue
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("TimerValue").Value();

Python

# Before accessing TimerValue, make sure TimerSelector is set correctly
# Set TimerSelector to "Timer0" (str)
nodeMapRemoteDevice.FindNode("TimerSelector").SetCurrentEntry("Timer0")
# Determine the current TimerValue (float)
value = nodeMapRemoteDevice.FindNode("TimerValue").Value()

© 2024 IDS Imaging Development Systems GmbH