07-23-2006 04:04 PM
07-24-2006 01:27 PM
To perform phase measurement between 2 signals it is important to synchronize your signals in order not to introduce error. Triggering, and sampling using a shared clock will allow you to synchronize analog input and output.
I recommend beginning with an example program to synchronize your analog input and output tasks. You can then analyze the two signals (perhaps with the Frequency Response Function.vi) to measure phase shift. Try working with the 'Multi-Function-Synch AI-AO.vi' located in Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Synchronization>>Multi-Function.
I hope this is helpful.