Storing data for 1s after a trigger occurs und generate a channel

  • Software
  • Storing data for 1s after a trigger occurs und generate a channel
Phil Goeth

Posted on 18.06.2019 09:15

Hello. How it is possible to store date and generate a data channel after a trigger condition occurs?

The goal is to store the data of 1 second after a trigger condition. So it would be useful to create a new channel for every trigger condition. After that i would like to compare data of i. e. 20 datachannels which are 1s long.

Thanks in advice for your help.

Phil Goeth

Posted on 27.06.2019 10:37

Anyone can help?

DEWESoft Support
Technical support
Posted on 27.06.2019 14:11

Dear Phill,


unfortunately, the channel can not be generated after a trigger occurs. All the channels must be predefined before the measurement starts.


So if we understand correctly, you have some trigger conditions, and you want to store the data for one second? For example you can use basic statistic with trigger conditions for this application. With some math formulas you can create a stopwatch, which would measure time from start trigger to 1 second, and create another trigger so the acquiring data for this channel in basic statistic would stop.



If this is not what you are looking for, we would need some additional information about your application so we can find you a better solution.


Regards

Phil Goeth

Posted on 30.07.2019 08:12

Hello and thank you for your answer.


I have an acceleration- channel. The total measurement is 1 minute. In this one minute there are 3 amplitudes based on a force impulse. This impulse causes the structure to swing 3 times for one second.

So the task is to window this 1s impulses for the acceleration and then take the average of the 3 windowed acceleration signals.


How could the formula with the stopwatch look like?


thanks in advice

DEWESoft Support
Technical support
Posted on 30.07.2019 10:05

Dear Phill,


from your explanations I would say that it depends of the signal. You can create a simple formula, which would represent a simple Trigger channel. This trigger channel can then be used as a reference channel in basic statistic calculation. But as I do not know what kind of signal do you have. So you need to know the start condition, where does the channel starts to calculate. Then you can use the delay math, to delay the channel for exact one second and you have the stop trigger channel.


Attached is simple data file with one possible solution, which I had in mind. Please let me know if you the solution is okay. Otherwise you can provide the data and we can create you trigger channels.


Regards,


Attached files:
Phil Goeth

Posted on 30.07.2019 14:37

Hello and thank you for your answer. The signals look like in the attechments. goal is to average the the acceleration und the excitation in 1s windows.


Attached files:
DEWESoft Support
Technical support
Posted on 30.07.2019 15:05

Dear Phill,


the excitation can be the "Start trigger" and you can use the delay math to shift the channel for 1 seconds and create a "Stop trigger". In this case you have both reference channels for BS calculation.


Regards

Phil Goeth

Posted on 30.07.2019 17:15

Dear DEWESoft team,


is it possible to store every excitation in a separate channel? It would be nice to see every excitation and the corresponding answers of the accelerometers.


For the first excitation point everything is clear. The excitation starts the trigger and with delay of 1000ms i can stop recording the signals. But when the next excitation starts, how to handle the next excitation.

In my opinion the right way is to store every excitation and every response in a separate channel?

DEWESoft Support
Technical support
Posted on 31.07.2019 11:45

Dear Phill,


if your excitation channel have different spikes, as on the picture provided there is really no need to create a separate channels. You could create separate channels with some additional maths formulas, but that would mean that you have more channels.


The BS will always calculate between the start and stop condition, in your case there will be more start and stop triggers so as a result you will get more than one value from the BS calculation - each for one calculation between corresponding trigger pair.


You can see this behaviour in the data file which we provided. On the photo you can see three pairs of start stop trigger and three results for the BS calculation.




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