Closedown

This commit is contained in:
gac-x03da
2018-02-08 17:39:25 +01:00
parent 6076157292
commit ce46a878ad
2 changed files with 7 additions and 11 deletions

View File

@@ -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):
"""

View File

@@ -15,6 +15,7 @@ RANGE = (-0.5, 0.5)
STEPS = 10
LATENCY = 0.5
RELATIVE = True
ENDSCAN = True
adjust_sensors()
set_adc_averaging()