Script execution

This commit is contained in:
gac-x03da
2023-08-23 21:57:46 +02:00
parent b2d76968fd
commit c71bb38c88

View File

@@ -10,21 +10,21 @@ move manipulator to center position before start!
import math
# actual number of positions will be +1!
STEPS = (25,25)
LATENCY = 0.5
STEPS = (0.300, 0.001)
LATENCY = 0.0
ENDSCAN = True
ZIGZAG = True
ZIGZAG = False
MOTORS = (ManipulatorZ, ManipulatorY)
#SENSORS = (Counts, Scienta.spectrum, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
SENSORS = (Counts, Scienta.dataMatrix, Scienta.spectrum, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
STARTPOS = (115, -2)
ENDPOS = (120, 2)
STARTPOS = (113.175, -1.250)
ENDPOS = (111.675, -1.550)
RELATIVE = False
adjust_sensors()
set_adc_averaging()
#set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
#adjust_sensors()
#set_adc_averaging()
set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
set_exec_pars(compression=True)
try: