How to use a signal from one function generator to gate another signal from another function generator?

I have 2 function generators with me and each is outputting its own signal. The first one is a 100kHz square signal and the second one is a 10MHz sine signal. What I want to do is use the first signal as a gate signal to gate the second signal.

What should happen is that when the square signal goes up, the sine signal is then produced as a burst for x-amount of periods and then the sine signal will stop when the square signal goes down.

How can I go about accomplishing this? Thank you!

PS: I am using the SIGLENT SDG5162

• What type of function generators do you use? Do they support this feature? Jul 23 '18 at 7:52
• I'm using the SIGLENT SDG5162 Jul 23 '18 at 8:00
• What happens if you set the 100kHz square to CMOS level and connect it to the gate input of the 10MHz sine signal generator? Jul 23 '18 at 8:09
• I don't think I have that function to set it to that level :/ I'm not even getting an external signal from the first function generator right now Jul 23 '18 at 8:16
• CMOS means your signal goes from low(0V) to high(5V), and what do you mean you don't even get an external signal from the first generator? Jul 23 '18 at 8:19