WARNING: This page is about a different car, the 2005 Infiniti G35. However, it is still accessible from the selected car via links, so may be relevant.
This self-diagnosis has the one trip detection logic.
Fig 1: Detecting Condition And Possible Cause Table