06-03-2022 06:36 AM
Hi washa001,
general settings
Option 1, one result channel
Option 2, a result channel for each match
Greetings
Walter
06-04-2022 05:37 AM
Hi Walter,
thank you very much for the quick reply.
I actually did the same thing as we did them. but it's not true for me.
I actually need a script for this using VBSCRIPT.
and Both the positive values and the nigative values.
here are pics for what i'm doing.
could you please write me a script for it.
Thanks in advance
06-04-2022 06:50 AM
Hi Walter,
I want the results only if the above 0.6 or below (-0.6) and for a minimum duration of 80 ms. if it is over 0.6 but for less than 80 ms then NOT.
the picture might show what i mean.
I can't find the appropriate commands for this, so I make a script for the automatic evaluation with VB_Script.
I hope you can help me.
Thank you very much
06-07-2022 02:54 AM
Hi washa001,
For this, two conditions are required, which are connected with OR
You can get the script commands for this by pressing CTRL+SHIFT+C in the opened dialog.
ChnEventList1 = ChnEventDetectionWindow("[1]/Time", "[1]/Signal", 0.6, 50, 0, 0)
ChnEventList1 = ChnEventFilter(ChnEventList1, "Peaks", 0.5, "Value")
ChnEventList2 = ChnEventDetectionWindow("[1]/Time", "[1]/Signal", -0.6, -50, 0, 0)
ChnEventList2 = ChnEventFilter(ChnEventList2, "Peaks", 0.5, "Value")
ChnEventResultList = ChnEventOperationOR(ChnEventList1, ChnEventList2)
ChnEventList1 = ChnEventResultList
Call ChnEventCreateXYChannels("[1]/Signal", "[1]/Signal", ChnEventList1)
Greetings
Walter
06-07-2022 05:34 AM
Hi Walter,
Thank you very much, that was helpful. I have 2 more questions please, what should be changed in code so that I get only one result channel for all events.
Is there a possibility to get the events in a table (which commands should be used here)
I actually created a report layout for the normal channel results (2D graph) and I want to extend the layout so that I can clearly see a table of events next to the graph.
I am looking forward to your answer
Best regards