This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Which Status Bit in RTI determines the occurence of CAPTURE Event

Hello Support,

In RTI which status bit indicates the successul completion of CAPTURE event?

Thank you.
Regards
Pashan

  • Hello Pashan,

      There is a no status bit to indicate the completion of the capture event. Whenver an event is detected the RTI will take the timestamp of the up counter and the free running counter and save them into the RTICAUCx and RTICAFRCx. So it is possible that if you have a extremely fast event frequency then the  RTICAUCx and RTICAFRCx are overwritten with new values before CPU reads them.

  • Hello Charles,

    So, how do I detect whether the RTI CAPTURE have occurred at all or not?

    Which FLAG in the system will tell me that one CAPTURE event have occurred within RTI?

    Thank you.
    Regards
    Pashan

  • Hello Pashan,

      There is no such flag to indicate that the RTI had just moved the up/free counter values to the  RTICAUCx and RTICAFRCx due to an incoming capture event from the VIM. Can you poll the capture registers and compare with  the previous timestamp that you might have saved in the memory and if there is a difference then it means a new event has arrived?

  • Hello Pashan,

      My colleague suggests that you either read the INTREQ in the VIM or use the interrupt handler for the event that you use to trigger RTI capture. Let me know if that will help.