Script execution
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user