05-27-2009 04:40 AM
05-27-2009 05:13 AM - edited 05-27-2009 05:16 AM
One work around:
Connect the signal to 2 Digital inputs and implement the edge detection in operation in the software. So your logic will do the following:
1. Initiate two free running timers for two lines
2. Poll for rising edges
3. When rising edges appear in any of the DI lines then latch the time for that line and when a rising edge occurs for 2nd line compute the differance between the 1st line and 2line timers initiated for two counters.
But is this card resided in PC or RT. because this applicaiton needs micro second timer. If you want to achive this with PCI card and Windows its not possible [Windows can support only ms timer which will not suit to this application]
05-27-2009 08:10 AM
04-21-2010 12:46 PM
I am trying to do something similar, decode an anemometer / weather vane, I have two pulse trains, both are fairly slow - in the region of 5-30hz
I need to measure the period between upgoing edges of the first signal
I also need to then measure the time difference between the upgoing edge of the first signal and the next upgoing edge of the second signal (2 edge separation)
I want to do this with either digital or analogue input (NOT using a counter)
I am struggling, any ideas?
Thanks
04-24-2015 12:32 PM
Hi Folks, i know its been a long time since this topic was talked on. does the owner have a .vi he could post?????