Trigger Questions.

Kevin Read

Posted on 23.10.2017 20:18


Im currently working on a trigger process . Were going to be measuring acceleration using the system. What i have managed to figure out is the Pre time and post time as well as the trigger conditions..


IF accelometer A < 5 G Then i want it to record for 2 seconds pre and post trigger. (I have figured this out)

But what we also want is for the system to record every 30 mins for approx 1 min .

This is where im having some issues, If i set the system to record every 30 Mins for 1 min it over-writes the post trigger setting of 2 seconds.

If i take this post time trigger out and put the stop condition of the 2seconds into the stop storing conditions it still sets the record to 1 minute...

DEWESoft Support
Technical support
Posted on 24.10.2017 13:37


the post time will make DEWESoft keep storing for an additional time after the stop trigger is detected. If no stop trigger is defined, then the post time will be executed immediately after the start storing trigger. Does that make sense?

DEWESoft's triggers work on an OR basis, so it's enough for one condition to return TRUE to activate a trigger. The method that you're suggesting is not possible with the current storing options. To implement your request we would need to be able to define the stop storing triggers in reference to the start storing triggers.

For example, if you now define two stop storing triggers, where one is 2 seconds after start storing trigger and the other is every 31 minutes (meaning wait one minute after every 30 minutes), the 2 seconds trigger would always be detected first so the data will never be stored for one minute. If we could say that the 2 seconds condition should be used only if the start storing condition was the values based option, then we could use this logic.

While this is not possible to do in the storing option, I have managed to configure your desired triggering logic via custom formulas. There are quite a few of them and the overall process is quite complicated, but I believe it will get the job done.

To avoid over explaining everything, I've define two conditions, where one is time based ant the other is value based. There are three variable on the top which you can freely change without affecting the setup. If you'd like to change the value condition's triggering value, then you can do that inside the "Time shift" formula. At the moment it's set to 5 like in your description.

At the end I use both conditions in an OR statement to make a combination of time/value triggered storing. I've tested it with seconds instead of minutes and it worked as expected. Please let me know if this is what you were looking for.

Attached files:
Kevin Read

Posted on 24.10.2017 17:40

Thank you for your response.

Another option i was looking for was to create a counter logic chain in the sequencer.

. It will scan the channels for the peaks were looking for and then record when it sees them but also giving an internal counter a +1 till it equals approx 30mins of time then have it record for 1 min and then Reset the counter to 0 when the record is finished. Is there a way to set up an internal counter to do this ???????

Kevin Read

Posted on 24.10.2017 23:03

I was able to figure it out using the TimeDecode addon. I based my recording times off of that using the sequencer. But my next question is How do i set the pre-trigger record time from the sequencer? Because if i set the pre-trigger in the storing options in my setup file it wont record the data when i load my sequencer file.

Id like it to pre-trigger 2seconds before

DEWESoft Support
Technical support
Posted on 25.10.2017 15:07


the sequencer isn't able to define a pre time, you can only do that in a setup file. When you cal start storing through a sequencer (while using the fast on trigger option) it will only put DEWESoft into an armed state, ready to receive a trigger. If you've found storing your solution using a sequencer, you can now use a variable to trigger DEWESoft.

Simply add user input in the setup file and define a variable and assign a trigger condition to it. Then you can set that variable to your trigger value when you'd like to initiate storing.

I've attached two pictures to help you out.

fostenadru fostenadru

Posted on 02.06.2021 12:44

Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks sbobet

fostenadru fostenadru

Posted on 03.06.2021 14:55

i really like this article please keep it up. 메이저사이트

fostenadru fostenadru

Posted on 05.06.2021 12:59

very interesting keep posting. บาคาร่า88888

frazier cai

Posted on 06.06.2021 12:10

I really impressed after read this because of some quality work and informative thoughts . I just wanna say thanks for the writer and wish you all the best for coming!. Door installation Companies

fostenadru fostenadru

Posted on 08.06.2021 15:44

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. Heavy News

fostenadru fostenadru

Posted on 13.06.2021 12:12

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. climatiseur mobile sans evacuation

fostenadru fostenadru

Posted on 14.06.2021 10:58

I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. 토토사이트

Login to reply to this topic. If you don't have account yet, you can signup for free account .