diff --git a/script/RFscan/ShottkyScan.py b/script/RFscan/ShottkyScan.py index 2df2fbf..1c36c99 100644 --- a/script/RFscan/ShottkyScan.py +++ b/script/RFscan/ShottkyScan.py @@ -40,3 +40,11 @@ finally: phase_ref = 80.0 phase_offset = - phase_ref caput("SINEG01-RSYS:CALC-VSUM-PHASE-OFFSET", phase_offset) + + +#Setting the return value +#set_return(50.0) +y = r.getReadable(0) +x = r.getPositions(0) +index_max = y.indexOf(max(y)) +_=x[index_max] \ No newline at end of file