Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

Does a software reset of the selected counter. The CounterStatus changes to "CounterTriggerWait". If no counter trigger is active (CounterTriggerSource = "Off"), the counter starts counting events immediately after the reset and the CounterStatus changes to "CounterActive". CounterReset can be used to reset the counter independently from the CounterResetSource. To disable the counter temporarily, set CounterEventSource to "Off".

hint_info

Note that the value of the counter at time of reset is automatically latched and reflected in CounterValueAtReset.

Name

CounterReset[CounterSelector]

Category

CounterAndTimerControl

Interface

Command

Access

Write

Unit

-

Visibility

Expert

Values

-

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Code example

C++

// Execute CounterReset
nodeMapRemoteDevice->FindNode<peak::core::nodes::CommandNode>("CounterReset")->Execute();
// Check if the command has finished before you continue (optional)
nodeMapRemoteDevice->FindNode<peak::core::nodes::CommandNode>("CounterReset")->WaitUntilDone();

C#

// Execute CounterReset
nodeMapRemoteDevice.FindNode<peak.core.nodes.CommandNode>("CounterReset").Execute();
// Check if the command has finished before you continue (optional)
nodeMapRemoteDevice.FindNode<peak.core.nodes.CommandNode>("CounterReset").WaitUntilDone();

Python

# Execute CounterReset
nodeMapRemoteDevice.FindNode("CounterReset").Execute()
# Check if the command has finished before you continue (optional)
nodeMapRemoteDevice.FindNode("CounterReset").WaitUntilDone()

© 2024 IDS Imaging Development Systems GmbH