add micro-stepping card and IDS camera examples in user_template.yaml #217

Merged
diaz merged 2 commits from update_config_template into main 2026-06-01 10:19:22 +02:00
2 changed files with 49 additions and 9 deletions
+41 -1
View File
@@ -20,6 +20,27 @@ samx:
readoutPriority: baseline
softwareTrigger: false
############################################################
########### OWIS LTM80 with micro-stepping #################
############################################################
samy:
description: Owis motor stage samx
deviceClass: ophyd_devices.devices.psi_motor.EpicsUserMotorVME
deviceConfig:
prefix: X12SA-ES2-ES19
motor_resolution: 0.000125
base_velocity: 0.00625
velocity: 1
backlash_distance: 0.0125
acceleration: 0.2
user_offset_dir: 0
deviceTags:
- cSAXS
- owis_samx
onFailure: buffer
enabled: true
readoutPriority: baseline
softwareTrigger: false
############################################################
#################### OWIS Rotation DMT65 ###################
############################################################
rotx:
@@ -105,4 +126,23 @@ np2x:
readoutPriority: baseline
connectionTimeout: 20
deviceTags:
- npoint
- npoint
############################################################
#################### IDS camera ############################
############################################################
test_cam_mic:
description: Camera Microscope
deviceClass: csaxs_bec.devices.ids_cameras.ids_camera.IDSCamera
deviceConfig:
camera_id: 2
bits_per_pixel: 24
num_rotation_90: 1
transpose: false
force_monochrome: false
m_n_colormode: 1
enabled: true
onFailure: buffer
readOnly: false
readoutPriority: async
+8 -8
View File
@@ -14,28 +14,28 @@ class BPM(PSIPseudoDeviceBase):
BECProcessedSignal,
name="left_top",
model_config=None,
kind=Kind.config,
kind=Kind.normal,
doc="BPM left_top blade",
)
right_top = Cpt(
BECProcessedSignal,
name="right_top",
model_config=None,
kind=Kind.config,
kind=Kind.normal,
doc="BPM right_top blade",
)
right_bot = Cpt(
BECProcessedSignal,
name="right_bot",
model_config=None,
kind=Kind.config,
kind=Kind.normal,
doc="BPM right_bottom blade",
)
left_bot = Cpt(
BECProcessedSignal,
name="left_bot",
model_config=None,
kind=Kind.config,
kind=Kind.normal,
doc="BPM left_bot blade",
)
@@ -44,28 +44,28 @@ class BPM(PSIPseudoDeviceBase):
BECProcessedSignal,
name="pos_x",
model_config=None,
kind=Kind.config,
kind=Kind.normal,
doc="BPM X position, -1 fully left, 1 fully right",
)
pos_y = Cpt(
BECProcessedSignal,
name="pos_y",
model_config=None,
kind=Kind.config,
kind=Kind.normal,
doc="BPM Y position, -1 fully bottom, 1 fully top",
)
diagonal = Cpt(
BECProcessedSignal,
name="diagonal",
model_config=None,
kind=Kind.config,
kind=Kind.normal,
doc="BPM diagonal, -1 fully diagonal left_top-right_bot, 1 fully diagonal right_top-left_bot",
)
intensity = Cpt(
BECProcessedSignal,
name="intensity",
model_config=None,
kind=Kind.config,
kind=Kind.normal,
doc="BPM intensity",
)