Closedown
This commit is contained in:
@@ -105,16 +105,14 @@ def prepare_keithleys(dwell):
|
||||
"""
|
||||
KeiSample.prepare(dwell)
|
||||
KeiReference.prepare(dwell)
|
||||
pass
|
||||
|
||||
def trig_keithleys():
|
||||
"""
|
||||
trigger keithleys, do not wait.
|
||||
after this, you have to wait for at least the dwell time before reading the value!
|
||||
"""
|
||||
#KeiSample.trig()
|
||||
#KeiReference.trig()
|
||||
pass
|
||||
KeiSample.trig()
|
||||
KeiReference.trig()
|
||||
|
||||
def read_keithleys():
|
||||
"""
|
||||
@@ -122,19 +120,16 @@ def read_keithleys():
|
||||
this requires that at least the dwell time has passed since the last trigger.
|
||||
the value can then be read from the SampleCurrent and ReferenceCurrent devices.
|
||||
"""
|
||||
#KeiSample.fetch()
|
||||
#KeiReference.fetch()
|
||||
pass
|
||||
KeiSample.fetch()
|
||||
KeiReference.fetch()
|
||||
|
||||
def release_keithleys():
|
||||
"""
|
||||
switch keithleys to free run.
|
||||
0.1 s polling and dwell time
|
||||
"""
|
||||
#KeiSample.release()
|
||||
#KeiReference.release()
|
||||
pass
|
||||
|
||||
KeiSample.release()
|
||||
KeiReference.release()
|
||||
|
||||
def init_keithley_ca(dwell):
|
||||
"""
|
||||
|
||||
@@ -15,6 +15,7 @@ RANGE = (-0.5, 0.5)
|
||||
STEPS = 10
|
||||
LATENCY = 0.5
|
||||
RELATIVE = True
|
||||
ENDSCAN = True
|
||||
|
||||
adjust_sensors()
|
||||
set_adc_averaging()
|
||||
|
||||
Reference in New Issue
Block a user