11-13-2008 05:40 AM
Hi,
I need to convert the acquired voltage and current waveform through DAQ card into complex numbers in order to find the phase relationship
between the waveform.Can u tell me is there any method to convert the acquired waveform into complex number array
or is there any other method to find the phase??
please help me in this
Regards
Meenatchi
11-13-2008 05:59 AM
11-13-2008 07:03 AM
11-13-2008 09:16 AM
11-14-2008 01:07 AM
11-14-2008 01:28 AM
11-14-2008 02:31 AM
11-14-2008 08:57 AM - edited 11-14-2008 08:58 AM
Pavan wrote
I am attaching two sample VI s for the issue you are facing. Hope this helps.
As I've pointed out before, the complex number functions are polymorphic. This means you can wire an array, and you'll get an array. Your for-loop is completely pointless. Besides, you have the for-loop set up for auto-indexing, and you're still wiring a value for N! This is simply wrong. As an Applications Engineer from NI you should know this.
Also, I'm not sure what you're calculating. If you want to know the phase difference between two signals, take the difference in time between the peaks of the respective waveforms, and multiply by the frequency then by 360.