In my experiment I get a reference signal from a beam chopper and a voltage signal from a photodiode detector. The signals are acquired via a DAQPad-6015 USB board.
When I first get the signals waveforms from the channel they have the same timestamp, same frequency and they are in phase. Then I pass the photodiode (PD) signal through a Bandpass filter ("Butterworth.vi") and multiply the filtered waveform with the reference one. Because after the filter the PD signals waveform has change, it's not in phase with the reference and cannot multiply then and keep writing the program.
I've used "WDT Align Waveform Timestamps.vi" and there is no change in the waveforms.
I've sent the reference signal through a Lowpass filter with a higher cut off frequency than the actual frequency to check if I could create the same phase delay than in the PD signal. But I keep having a phase difference between waveforms.
I've tried to get the value of the phase difference using "Extract single Tone Information.vi" and even if the most of the time is between 110 and 125 degrees (sometimes 80 degrees or so), it keeps changing each time I run the program.
I've been trying to solve this phase difference for so long and try many many different VIs but I cannot get rid of this problem. I also tried "Align Waveforms (single shot).vi" but didn't work. This last one I'm not sure if I define it properly.
Do you know about any other VI I could try?
Thanks,
Untzi