AnsweredAssumed Answered

Capture_LDD SelectCaptureEdge

Question asked by Xiaocong Fu Employee on Jul 22, 2015
Latest reply on Jul 29, 2015 by Xiaocong Fu

Hello

I'm using Capture_LDD in processor expert, with the frdm KL25Z.

What I need to do is count the time from the first rising edge of a signal, and then count the time of every falling and rising edge.

I set the Edge in Event as 'rising edge':

event.PNG

and in my code, I use the function :

Cap1_SelectCaptureEdge(Cap1DeviceData,EDGE_BOTH);

to change the property of Edge.

 

But it seems that 'SelectCaptureEdge' changes nothing because all the values I got are time of the apprance of rising edge.

 

Does someone have the same problem with this function? Please let me know.

 

Thanks a lot.

Outcomes