How I can add condition to analisis template, create event if it's only more than 1 minute?
Roger is correct, you will need to leverage the "True For" field in the Event Frame Generation analysis configuration. If the requirement is that it needs to be longer than a minute, you can set this field equal to 61 seconds. Else you can do some time math in your start trigger expression to calculate the difference in seconds between the snapshot value for an attribute and its most recent archived value.
I think what you're after is the NoOutput() function. For example you could have something like this:
If Value1 > 60 Then Value2 Else NoOutput()
where Value1 is your time in seconds and Value2 is your output value.
Is this what you're looking for?
I'd like to create event if duration of event is more than 1 minute and doesn't count it as event if event duration is less or equal 1 minute.
When using AF Analytics to create EventFrames, you have the option to define the "True for" time on the start trigger. If you set that to one minute, the start trigger needs to be true for >=1 minute before the EventFrame is created.
It needs to create event when event duration is more than 1 minute not equal.
so for example in my case event frame starts at 01:30:34 PM and run more than 1 minute and ends at 01:40:25,
and if I use "True for" option with 61 secs, will be start time of Event - 01:30:34 PM (not 01:31:34 PM), this is exactly what I need?
That is correct Saken. The start time will be the first time that the trigger was TRUE. It will only store the Event Frame if the "Time True For" is met.
Sorry Saken, I misunderstood your question. Thanks Gabriel, Vincent and Roger for providing the correct solution
Retrieving data ...