01-24-2008 08:54 AM
01-28-2008 06:13 AM
01-31-2008 05:23 AM
02-01-2008 10:51 AM
02-11-2008 05:43 AM
02-14-2008 06:18 AM
02-25-2008 11:09 AM
02-26-2008 05:22 AM
02-26-2008 06:26 AM
02-27-2008 12:01 PM
Hi Ian,
Thanks again for helping out, I got the frequency divider working but i need to change it to exactly what i needed and im not getting it exactly...The thing is I have 2 signals, a phase voltage and the rotor encoder signal. The voltage signal is 50 hz, hence i want the rotor encoder signal to be 50Hz as well, which is what you provided me but I need the amplitude of the rotor signal to be the same as well, so that i can calculate their phase difference, which i try to by passing them through the xor gate. I have tried inputting an amplitude of 5 into the 'square waveform vi' but it gave me a range of -5 to 5 and when i tried using the 'greater than 0', things got messy. Ultimately i want to pass this outputted phase difference signal out on one of my digital port so that i can wired it back into one of my counter ports for an accurate measurement of the pulse width but I seem to have an error of when i tried it. Am i squaring the voltage wave correctly? and doing the phase difference correctly? I have attached the vi I have been developing so could you take a look and give me any advice you can please.
As for the error, I have taken and tried your advice in tackling it, it seems that It delays the error for around 2 extra seconds before running into it again I even tried up to 9000 samples to read. I have attached the vi settings for measuring the frequency of my 1600 Hz rotor wave to see whether you can spot anything out of place. I apologise for the messy vi at the moment as im trying everything
, thank for your time.
Kind Regards,
Coato