10-09-2008 08:26 PM
I need to align two data sets that have been stored at different rates to enable me to use the CTNV function to clip unwanted data.
Ch("new") = Ch("[1]/z")+CTNV((Ch("[1]/Velocity")<17))
this code clips the altitude (z) data when velocity is below 17, this works fine because both channels were store at 1Hz
Ch("new") = Ch("[1]/A2R1")+CTNV((Ch("[1]/Velocity")<17))
this code doesn't do what I want because strain gauge data (A2R1) was stored at 240Hz and velocity at 1Hz.
I'm sure there is a simple solution (probably several of them) but I'm pretty new to DIAdem and it's got me stuffed!
10-10-2008 12:41 AM
Hi smiffy,
you can use the analysis function "linear mapping" at the "curve fittings" to bring the 2 channels to the same data rate.
use the time channel from the other channel as "interpolation channel"
regards sven
10-10-2008 01:03 AM
Hello smiffy!
One keyword for sven's suggestion is 'ChnMapLinCalc'. Look for this command in the DIAdem help or search this forum to get some examples.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
10-12-2008 04:53 PM
Thank you.
That was too easy!
10-12-2008 04:54 PM