Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

Sets the duration for which the timer is counting. When the timer reaches the TimerDuration value, it stops counting. At the same time, a "TimerEnd" signal is generated, the TimerStatus changes to "TimerCompleted" and the "TimerActive" signal is set to LOW.

hint_info

If you want to record the duration of an operation, e.g. the ExposureTime (if ExposureMode is set to "TriggerControlled"), you should set the TimerDuration to its maximum value.

Name

TimerDuration[TimerSelector]

Category

CounterAndTimerControl

Interface

Float

Access

Read/Write

Unit

µs

Visibility

Expert

Values

0 ... 167777215
Increment: 1

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Code example

C++

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

C#

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

Python

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

© 2024 IDS Imaging Development Systems GmbH