Im a newbie with dasylab, i did a little project to extract the maximum and the minimum for a variable sine signal, and i want to extract the values in two different file,
my list value is for exemple :
and i want to get the a value in file 1 and the b value in file 2
All the value are getting from a 1Hz signal with a variation of the amplitude every 3 cycle.
can some one help me with this ?
Than kyou in advance
Use the Statistics/Min-Max module to compute the minima and the maxima.
Set it up with two inputs, and branch your signal to both inputs. Configure one channel to output Minimum and the other to output Maximum.
I used a List instead of a file.
Thank you CJ for the feedback,
The main problem is not the maximum and minimum, i made a project to extract the maximum and minimum. but i get all the maximum in one list and all the min in one list.
attached a example for the signal, what i want is to extract after only all the green maximum in one fil and the black one in other file.
Ah... is it always 3 points, alternating?
The signal router module might do it... set for time, with 3 blocks alternating.
its not always 3pts, some time can be only two, and its alternating,
I tried the signal router before, the problem with is i cant defind the high amplitude and the low amplitude, it will be only a serie off block every time, and if for exemple my signal start with on Green value and after go to 3 black value i will get all the data wrong.
im using a cell load, cabled to instrunet interface. the two sets of value represent the reaction force under and without pressure, the load cell mouve with 1hz frequency, but the pressure cycle is a trapezoidal signal of 7sec period, this why i get a phase every time,.
attached my project and a file data for my cell load signal, for the pressure i didnt found the way to represente the trapezoidal signal, so i chosed only +/- rectangle to see. and also i changed in this one the instrunet input by a simple generator to avoid any opening problem.
Using the control signal in the input file, I was able to do this....
Circles show the extrema.