I use a cheap logic analyser running the PulseView software and an IR photo transistor circuit.

This is what shows when the 1 button is pressed on my NEC remote.
This is the pulse train expanded to measure the modulation frequency.
Modulation frequency is 38KHz.

