This commit is contained in:
@@ -313,16 +313,16 @@ def stop_blm_ws(blm):
|
||||
caput(blm + ":WS_STOP.PROC", 1)
|
||||
|
||||
def set_blm_ws_gain(blm, gain):
|
||||
caput(blm + ":WS_PMT_GAIN_VOLTS", 1)
|
||||
caput(blm + ":WS_PMT_GAIN_VOLTS", float(gain))
|
||||
|
||||
def get_blm_ws_gain(blm, gain):
|
||||
caget(blm + ":WS_PMT_GAIN_VOLTS")
|
||||
def get_blm_ws_gain(blm):
|
||||
return caget(blm + ":WS_PMT_GAIN_VOLTS")
|
||||
|
||||
|
||||
def set_blm_ws_att(blm, att):
|
||||
caput(blm + ":WS_PMT_ATT_VOLTS", 1)
|
||||
caput(blm + ":WS_PMT_ATT_VOLTS", att)
|
||||
|
||||
def get_blm_ws_att(blm, att):
|
||||
def get_blm_ws_att(blm):
|
||||
"""
|
||||
string 0: Reference
|
||||
string 1: "2 dB"
|
||||
@@ -341,4 +341,4 @@ def get_blm_ws_att(blm, att):
|
||||
string 14: 28 dB
|
||||
string 15: 30 dB
|
||||
"""
|
||||
caget(blm + ":WS_PMT_ATT_VOLTS", 'i')
|
||||
return caget(blm + ":WS_PMT_ATT_VOLTS", 'i')
|
||||
|
||||
Reference in New Issue
Block a user