1 of 1 people found this helpful
For setting analysis output timestamp, the only options are "Trigger Time" or "Execution Time" or "Relative to Trigger Time" (Click "Advanced..." button)
In your case, you need to wait 25 or more seconds to check the state will be "state1" or "state2". So it seems like difficult to achieve.
You can create AFSDK custom application (Require PSA license for product environment) or PI ACE to write events with flexible timestamp.
Also remember that PI ACE only supports Visual Studio 2013 or older.