Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions startup/999_user_PTA.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ class Laser(Device):

# Read inputs
# 1 = PV trigger, 2 = physical trigger
input1 = Cpt(EpicsSignalRO, 'Input:1-RB')
input2 = Cpt(EpicsSignalRO, 'Input:2-RB')
input1 = Cpt(EpicsSignalRO, 'Input:1-Sts')
input2 = Cpt(EpicsSignalRO, 'Input:2-Sts')

# Enable/disable trigger inputs
# 1 = PV trigger, 2 = physical trigger
Expand All @@ -149,6 +149,10 @@ class Laser(Device):
# Override only works when trigger disabled
manual_button = Cpt(PairSEL, 'Output:1')

# Set voltage to control laser intensity
# Volts units
laser_voltage = Cpt(PairSP, 'LaserVoltsSet:1')

def manual_mode(self):
yield from bps.mv(self.trigger, 0)

Expand Down