tested with SINSB01

This commit is contained in:
sfop
2016-10-17 12:34:21 +02:00
parent fa82b4e397
commit b5e02d8418

View File

@@ -63,6 +63,7 @@ mv_vsum_jit_phase = PV("VSUM_phase_jit" ,SECTION + "-RLLE-DSP:VSUM-PHASE-JIT-P2P
# auxiliary measured variables, but not scanned
mva_hvps = PV("HVPS" ,SECTION + "-RMOD:V-SET")
mva_rfrate = PV("RF_RATE" ,SECTION + "-RLLE-EVR:CHCK-EVNT")
mva_satpower = PV("SAT_POWER" ,SECTION + "-RKLY-DCP10:FOR-POWER-AVG")
#mva_hvps = PV("HVPS" ,"SINEG01-RMOD:V-SET")
# initialize all PVs
@@ -81,6 +82,7 @@ mv_vsum_jit_phase.initialize()
mva_hvps.initialize()
mva_rfrate.initialize()
mva_satpower.initialize()
@@ -89,6 +91,7 @@ mva_rfrate.initialize()
hvps = mva_hvps.read()
rfrate = mva_rfrate.read()
satpower = mva_satpower.read()
# define current amplitude as saturation amplitude, then define three scans
amplt_sat = cv_rf_amplt.read()
@@ -117,6 +120,7 @@ mv_vsum_jit_phase.close()
mva_hvps.close()
mva_rfrate.close()
mva_satpower.close()
#################################################################################
@@ -258,6 +262,7 @@ set_attribute(path, "HVPS", hvps)
# ELOG
msg = "HVPS command = " + str(hvps)[:6] + "V)"
msg = msg + "saturation power = " + str(satpower)[:6] + "MW)"
msg = msg + "\n---------------------------------------------------------"
msg = msg + "\nREF amplt\n" + ref_jit_amplt.return_string_amplt()
msg = msg + "\n\nREF phase\n" + ref_jit_phase.return_string_phase()