07-05-2022 05:56 AM
Hi Wasim90,
If I should analyze the problem, I also need the dataset.
Greetings
Walter
07-05-2022 05:58 AM
Therre is no TDX file.
07-05-2022 06:00 AM
Yes of course, you can only upload up to 10 MB, but the file has 17 MB! Is there any way to upload a larger file?
07-05-2022 06:06 AM
I assume it is not necessary to have the whole dataset. I think 2 or 3 layout pages plus the corresponding data are enough. Can you reduce the layout and dataset in this way?
07-05-2022 06:12 AM
I hope it works now
07-05-2022 06:31 AM
The problem was the XY-Relation, which was wrongly defined. I have attached a working example.
You find the XY-Relation function in ANALYSIS in the toolbar “Channel functions”
07-05-2022 07:42 AM
Hi Walter,
actually, the events come after the evaluation.
the events come so after the evaluation , here is the code for the evaluation . What should be changed in the code to get each event with a defined time.
I also sent an example of a file before evaluation, after evaluation we then get channels with low-pass filter, which are also done without event search.
Greeting
07-05-2022 07:57 AM
Which code?
07-05-2022 07:59 AM
Call Data.Root.ChannelGroups.Add("Ereignisse -Filter-a-5-3 Y", 4).Activate()
ChnEventList1 = ChnEventDetectionWindow("Zeit 1 - Standardmessrate", "Filter-a-5-3 Y", 0.5, 100, 0, 0)
ChnEventList1 = ChnEventFilter(ChnEventList1, "Peaks", 0.08, "Value")
ChnEventList2 = ChnEventDetectionWindow("Zeit 1 - Standardmessrate", "Filter-a-5-3 Y", -0.5, -100, 0, 0)
ChnEventList2 = ChnEventFilter(ChnEventList2, "Peaks", 0.08, "Value")
ChnEventResultList = ChnEventOperationOR(ChnEventList1, ChnEventList2)
ChnEventList1 = ChnEventResultList
Call ChnEventCreateXYChannels("Zeit 1 - Standardmessrate", "Filter-a-5-3 Y", ChnEventList1)
07-05-2022 08:15 AM
thank you very much, it worked.
but I had to write code for each event in each channel. and at 15 channels and only limited that to max 12 events for each channel. so that means about 180 code to match only for xy axis!
Greeting