IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
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".
Note that the value of the counter at time of reset is automatically latched and reflected in CounterValueAtReset. |
Name |
CounterReset[CounterSelector] |
Category |
|
Interface |
Command |
Access |
Write |
Unit |
- |
Visibility |
Expert |
Values |
- |
Standard |
SFNC |
Availability uEye+ |
|
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()