WARNING: This page is about a different car, the 2004 Infiniti I35. 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: DTC Detecting Condition And Possible Causes