Cycle Timer
This function block is used to calculate the time interval (cycle time) between successive activation signals. It helps in monitoring performance and timing for each step in a process.
📥 Inputs
Count
A boolean input that, when activated (set to true), starts recording the cycle timings.
📤 Outputs
Delta Time (s)
This output provides a list of recorded time intervals (in seconds) between the activation messages.
🕹️ Controls
Step Size
A slider that allows you to set the number of most recent time intervals to be considered when calculating differences. The range is from 1 to 30.
🎨 Features
Dynamic Cycle Time Calculation
The function block dynamically calculates the time taken between consecutive activation signals.
Configurable Step Size
The step size slider allows users to customize how many cycles are remembered and calculated.
📝 Usage Instructions
Connect Count Input: Link a boolean input source that will provide the
Count
signal to trigger the cycle timer.Adjust Step Size: Use the
Step Size
slider to determine how many cycles should be evaluated for timing calculations.Activate Count: When you provide a true signal to the
Count
input, the block will start recording the current time.Evaluate: After sufficient signals are recorded, you will receive a list of time intervals between each subsequent activation.
📊 Evaluation
On execution, this function block outputs a list of time differences, allowing you to analyze the timing of various steps.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated