Specify with the SCPI.CALCulate(Ch).SELected.MARKer.FUNCtion. DOMain.STARt object and the SCPI.CALCulate(Ch).SELected.MARKer.FUNCtion. DOMain.STOP object.