10-19-2016 09:26 AM
I have two data sets recorded from different systems. The time stamps do not easily synchronize/offset. How can I synchronize the data sets based on a common signal recorded from both systems/data sets?
TIA
10-20-2016 12:30 PM - edited 10-20-2016 12:30 PM
Hi TIA,
There is an ANALYSIS function designed to do just this, with optional resampling available if you want to harmonize the row count of two data sets that are sampled at different rates. The function is called "Synchronize Data from Different Files" and it's in the "Channel Functions" palette. This function released with DIAdem 2015, so if you have an older DIAdem version, I could send you the homemade script I created to do this (without the resampling).
Let me know if you struggle to get it to work for you,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-20-2016 12:53 PM
I tried that Analysis tool and couldn't get it to do what I want.
10-20-2016 12:55 PM
10-24-2016 10:39 AM
Hi TIA,
The unexpected thing about that ANALYSIS function is that it requires the data sets that are being synchronized to have been loaded from different data files. If you loaded them as separate groups from the same data file, it won't help you.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-24-2016 11:49 AM
They are separate data files. Am I not supposed to have them both open at the same time?
10-25-2016 10:17 AM
Hi TIA,
You are supposed to have them open in the Data Portal at the same time.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-25-2016 11:03 AM
So, yes, they are separate files that are opened at the same time in the Data Portal...and I couldn't get the Synch to work.
10-26-2016 07:01 PM
Hi TIA,
If you'll post your 2 data sets or email them to brad.turpin@ni.com, I will take a look and see if I can get the ANALYSIS routine to time align your data sets. Also mention to me which channel from each data set should be used to synchronize.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-27-2016 07:50 AM
I ended up figuring out a script to calculate a time difference and applying that as an offset.
Regards,
Sue