01-09-2012 03:45 AM
I want to feed a sinusoidal signal from the signal generator through daq6009 and trigger that signal ,so that samples from the signal starts getting collected at the risisng edge of that trigger signal for a desired time.
I then want to perform curve fitting on the waveform from the collected samples,so that i can can get the phase change of the signal.
how can i perform this operation?
01-09-2012 07:41 AM
I don't use the USB DAQ in this way, but a quick check of the manual shows that the USB DAQ can be triggered in precisely two ways:
1) Software Trigger: Your software says: "Start Acquiring".
2) PFI0 Digital Trigger: You place a digital transition on the PFI0 channel to start acquisition on another channel.
If you can't do either of these, then your best bet is probably to continuously acquire and look for the "rising edge" in software. Once you find it, continue acquiring until you have enough data, stop the acquisition and then do your curve fitting.
Feel free to provide more details, we can handle them!
01-10-2012 12:01 AM - edited 01-10-2012 12:02 AM
I could trigger the signal using Trigger and Gate function.The inbuilt PFIO of DAQ was not giving the desired result.
Now I want to fit a curve on the triggered signal, so that I can find the phase values of the signals.
I have attached a screen shot of the program.
01-10-2012 08:24 AM
Excellent.
From your data, it looks like this VI will be useful in determining the phase: http://zone.ni.com/reference/en-XX/help/371361H-01/lvwave/extract_single_tone_info/
Enjoy!