Skip to content

Commit

Permalink
added manual_in_progress and renamed manual components
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaushik Malapati authored and Kaushik Malapati committed Oct 21, 2024
1 parent 2d0fef1 commit 3fa743d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pcdsdevices/pim.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,10 @@ def __init__(self, prefix, *, name, **kwargs):

background_mode = Cpt(PytmcSignal, ':BACK:MODE', io='io', kind='normal', doc='Can be manual or auto In manual mode, you can collect for a specified number of seconds. In auto mode, a buffer of automatically collected background voltages will be used to calculate the background voltage.')

background_collect = Cpt(PytmcSignal, ':BACK:COLL', io='io', kind='normal', doc='Start collecting background voltages for specified time.')
set_metadata(background_collect, dict(variety='command-proc', value=1))

background_collect_time = Cpt(PytmcSignal, ':BACK:TIME', io='io', kind='normal', doc='Time to collect background voltages for.')
manual_collect = Cpt(PytmcSignal, ':BACK:COLL', io='io', kind='normal', doc='Start collecting background voltages for specified time.')
set_metadata(manual_collect, dict(variety='command-proc', value=1))
manual_in_progress = Cpt(PytmcSignal, 'BACK:MANUAL_COLLECTING', io='i', kind='normal', doc='Manual collection currntly in progress')
manual_collect_time = Cpt(PytmcSignal, ':BACK:TIME', io='io', kind='normal', doc='Time to collect background voltages for.')

raw_voltage = Cpt(PytmcSignal, ':VOLT', io='i', kind='normal',
doc='Raw readback from the power meter.')
Expand Down

0 comments on commit 3fa743d

Please sign in to comment.