Interval Component

PDF Print E-mail
Monday, 21 June 2010 09:00
User Rating: / 1  |  Rate this article: PoorBest 

Sends a start message after a determined interval (Start At), followed by a stop message after a certain period of time (Duration). Typically used to automate enabling/disabling of Generator Components as seen in Example usage below.

loadUI Interval Component

loadUI Interval Component


OptionDescription
1_snag_evi
Input
Used to enable/disable the component.
2_snag_evi Interval Display
The grey line represents the starting delay and the blue line represents the active duration.
3_snag_evi Start At
When to activate (how long to wait before sending an enable message).
4_snag_evi End time
When to deactivate (how long to wait before sending a disable message).
5_snag_evi Unit for time This affects both Start At and Duration.
4_snag_evi Mode Single will run the run the interval once while Repeat will constantly repeat the interval.
7_snag_evi Output Connect this to the component that is controlled by the interval component (for example a Generator).

Compact View

IntervalCompactComponent

Interval Compact View


OptionDescription
1_snag_evi
Input
2_snag_evi Start At

3_snag_evi Duration

2_snag_evi Output

Settings

The settings for the Interval Component have only a single tab:

IntervalAdvancedProperties

Interval Advanced Properties


OptionDescription
1_snag_evi
Description

2_snag_evi Unit
The unit used for setting the time (Sec, Min or Hour)
3_snag_evi duration
The length of time the interval will run
4_snag_evi startAt
The Start Time of the interval
5_snag_evi stateProperty Determines whether the component is enabled or disabled
4_snag_evi mode Repeat or Single

Output

  • A start (enable) signal, followed by a stop (disable) signal

Controls

  • Start At
  • Duration - This is the amount of time the trigger should run for, must be higher than 0
  • Unit (% of test, seconds, minutes)
  • Enable

Example usage

intervalExampleUsage

The Interval Scheduler's Start At is set to 15 seconds, its Duration to 1 second and its Mode to Repeat. This will make the Interval Scheduler activate the Fixed Rate Generator for 1 second every 16th second (note that it will start with a 15 second delay before the first activation). Overall, the example project will send 32 requests in a burst, every 16th second, to http://www.google.com

Last Updated on Friday, 29 April 2011 06:52