MG2/3 MIDI tracks using DAW

How do you record a MIDI track via DAW using MG2/3? I have tried several times via my DAW Reaper but when I record something the track only comes out in WAV format and not MIDI.
Thank you

To record MIDI you need to add a MIDI track and set the input of that track to MG2/3.

Thanks for the information and videos, I will try and let you know.