Oscilloscope voltage not matching function generator
Most function generators will display the voltage output value that would be seen when running into a load terminator of the same impedance as the function generator. You are running the output (presumably a 50 ohm or 600 ohm output) into an open circuit (the o-scope) hence you see approximately twice the value that is displayed on the function generator. See this extract from Keysight Technologies: -