oscilloscope.run; functiongenerator.frequency = frequency; functiongenerator.voltage = amplitude; oscilloscope.auto; wave = oscilloscope.waveform;