02-28-2011 12:33 AM
im trying to figure out the time difference between two square wave pulse (PULSE A and PULSE B) from an encoder. I tried to modify many code but fail to capture thephase difference for each pulse. the pulse only rise to 5V and fall to 0V like normal square wave pulse
can you and all of experts here help me out with this?
my problem
1) Encoder pulse are continous (pulse A and pulse B)
2) Square wave pulse have "0V" and "5V" please rapidly
if possible someone show me correct method , Im using LABVIEW 7.1 and Hardware NI SCOPE (PCI 5102)
your advice are highly appreciated
among my idea as in attachment , but I failed to get it
03-01-2011 06:16 AM
Hi Amirul,
Check the attached JPG file. i think this will be use full to you
Regards,
Santhosh M
03-01-2011 06:12 PM
thanks for your help , I want to ask, the X-axis is in sample unit? but i am currently need to measure the time duration for hte new pulse..