Tektronix MSO4104B oscilloscope SCPI command to add a measurement
The measurements are always there behind the scenes. You can control whether they are displayed on the screen using for example:
MEASUrement:MEAS&lt;x&gt;:STATE ON|OFF

And you can configure the measurements using, for example:
MEASUrement:MEAS&lt;x&gt;:TYPe FREQuency
MEASUrement:MEAS&lt;x&gt;:SOUrce CH2
MEASUrement:MEAS&lt;x&gt;:SOUrce2 CH1