DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Rechteckverlauf analysieren/ rectangular progression analyze

Solved!
Go to solution

Hi washa001,

 

general settings

Walter_Rick_0-1654255957262.png

 

Option 1, one result channel

Walter_Rick_1-1654256088040.png

 

Option 2, a result channel for each match

Walter_Rick_2-1654256197618.png

 

Greetings

Walter

 

 

0 Kudos
Message 11 of 15
(647 Views)

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

washa001_2-1654338993653.pngwasha001_3-1654339016794.png

 

 

0 Kudos
Message 12 of 15
(638 Views)

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

washa001_0-1654343375811.jpeg

 

0 Kudos
Message 13 of 15
(632 Views)

Hi washa001,

 

For this, two conditions are required, which are connected with OR

Walter_Rick_0-1654588444747.png

 

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

0 Kudos
Message 14 of 15
(621 Views)

 

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

0 Kudos
Message 15 of 15
(615 Views)