02-15-2013 09:53 AM - edited 02-15-2013 09:54 AM
Hi!
I'm doing a program where I need read a value from a ACH and if its value is over 600 during 10 seconds then an action is executed (something like a timer on-delay). The problem is I don't know how do that.
My idea is to use a module Combi trigger but I don't see the way with the parameters pre-trigger, min duration, post-trigger and reaction time.
Can someone help me? 😄 Thanks in advance!
Sorry about my bad english.
Best regards!
Edit: I'm using DasyLab 12 version full.
02-15-2013 10:29 AM
Are you looking for an event where the value is above 600 for at least 10 seconds?
Or, a bit harder, for the value to be above 600 in a specific 10 second period.
The first condition is a duration condition, and I would use the Sample Trigger to monitor the signal.
Note that the sample trigger only outputs a single pulse when the condition is met, but you can control when that putse is... at the beginning of the ten-second event, at the end of the ten seconds, or at the end of the event (value above 600).
This pulse can be used in combination with another trigger, if you want to hold it high longer.
If it's the second condition, I need to know a bit more....
02-15-2013 11:46 AM
🙂
Sample Trigger works to me. The one drawback is I have to calculate sample size (sample rate * wanted time) instead of just to put the wanted time.
Thanks so much!