From 06b1682a0bcf3bef110231b31f0a94889ccc4110 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Sat, 12 Aug 2023 12:44:28 +0200 Subject: [PATCH] Script execution --- script/ManipulatorXYScan.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/ManipulatorXYScan.py b/script/ManipulatorXYScan.py index 9106e3cb..639d286c 100644 --- a/script/ManipulatorXYScan.py +++ b/script/ManipulatorXYScan.py @@ -12,7 +12,7 @@ set ANGLE = +60.0 to move the sample along the beam. import math # adjust the following parameters -DISTANCE = 15 +DISTANCE = 10 ANGLE = -30.0 # move sample across beam #ANGLE = +60.0 # move sample along beam STEPS = 200 @@ -24,7 +24,8 @@ DISTANCE_X = DISTANCE * math.cos(math.radians(ANGLE)) DISTANCE_Y = DISTANCE * math.sin(math.radians(ANGLE)) MOTOR = (ManipulatorX, ManipulatorY) -SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution) +#SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution) +SENSORS = (SampleCurrent, RefCurrent, MachineCurrent) STARTPOS = (-DISTANCE_X / 2.0, -DISTANCE_Y / 2.0) ENDPOS = (DISTANCE_X / 2.0, DISTANCE_Y / 2.0) RELATIVE = True