07-01-2006 10:28 AM
07-03-2006 06:08 PM
I'm not exactly sure how much detail you are looking for here. Did you have a specific question about one of the FFT functions? You basically have 2 FFT analysis functions.
With the FFT with one time signal, you are sending in for example a time-domain signal and getting the response signal which is now in the frequency domain. With the FFT with two time signals, you know the input and output and you want to know what characteristics produced this output (coefficient of transfer function). Typically you perform multiple tests over and over again to get these coefficients to make sure they are correct. Either of these methods will produce separate channels that contain the magnitude and the phase in the frequency domain. You just need to check the options in the FFT Functions window that is available when you configure the analysis in the configuration dialog.
I hope this helps.
Regards,
Erin
NI Mexico
07-04-2006 11:10 PM
Hello, Erin. Thanks for your fast response.
What I am trying to do is the following:
I have three channels. Channel 1 for time, Channel 2 for Input and Channel 3 for Output. The input consists in a sinusoidal sweep from 1 to 30 Hz with a specific amplitude. The output is the response of my system, a PID controlled hydraulic actuator. When I use a spectrum analizer I can configure it to see two graphs (after some iterations and averages): one for magnitude (dB) and other for phase (degrees). In this way I can observe the relationship between the input and the output, not only in magnitude, but also the delay between the signals.
Maybe it is time to return to my old electronic engineering books to do this step by step, but I would like to use one of the Diadem functions.
Could you give to me some comments?
07-05-2006 07:30 PM
You'll want to use the FFT (2 signals) function. On the FFT functions tab, enable the transfer function, choose the method that you want, and select phase. You'll also want to select amplitude. That will generate 3 new channels: Frequency, Tr_Phase, and Tr_Amplitude. You can then graph the system response in Frequency vs. Phase and Frequency vs. Amplitude. That should be what you're looking for.
Saludos,
Erin
NI Mexico
07-06-2006 12:21 AM
Thank you, Erin. That´s what I was looking for.
Do you have an email address where I could contact you? I live in Mexico, and I´d like to meet you. I am working in several Diadem Projects and it should be better for me to contact you by email or phone.
07-06-2006 10:45 AM
08-01-2007 03:35 PM
Hi
I'm new to Vision Development module. I'm using C# and accessing the functions as a ActiveX control.
My objective is to do a AutoFocus. I tried using the Contrast method : EdgeDetection followed by Quantify and STD/Mean. I got different Zaxis coordinate on the motion controller for STD and for Mean.
axCWIMAQ1.AcquireImage();
axCWIMAQViewer1.Attach(axCWIMAQ1.Images.Item(1));
oImageCopy = axCWIMAQViewer1.Image;
if (axCWIMAQViewer1.Image != null){
axCWIMAQVision1.EdgeFilter(axCWIMAQViewer1.Image, axCWIMAQViewer1.Image, NationalInstruments.CWIMAQControls.
CWIMAQGrayEdgeMethods.cwimaqGrayEdgeDiffer, 0, oImageCopy);axCWIMAQVision1.Quantify(axCWIMAQViewer1.Image, oGQReport, oRQReport, axCWIMAQViewer1.Image);
fSTD = oGQReport.Item(1).StandardDeviation;
For auto focus should I look into the peak of the STD or the mean ?
Please let me know your thoughts.
Thank you
Murugan
08-06-2007 02:30 PM
12-02-2007 07:58 AM
Hello..
Actuall
12-02-2007 07:58 AM
Hello..
Actuall i