adccommunitymod (AutomationDirect) asked a question.

CLICK: get elapsed time in seconds from prox input

Created Date: October 14,2012

Created By: quaizywabbit

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

i know this has probably been asked and answered, i need to capture the duration of the off time for one prox in seconds..


  • adccommunitymod (AutomationDirect)

    Created Date: October 14,2012

    Created by: bcarlton

    Attached is a PDF of your request. Note that the captured time has a possible inaccuracy of +- 1 scan time. It can be different on each capture.

    If the interrupt capability allowed rising and falling interrupts then a better measurement could be done.

    Assuming that the prox off times are expected to be the same you may want to average a number of readings.

    Edit - the time would be in number of milliseconds in this form. Change the time base of the timer for expected off times longer than 32 seconds.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: October 14,2012

    Created by: quaizywabbit

    thank you very much sir...now that i see it it makes sense....:)

  • adccommunitymod (AutomationDirect)

    Created Date: October 14,2012

    Created by: quaizywabbit

    i know this has probably been asked and answered, i need to capture the duration of the off time for one prox in seconds..