-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aps.lifetime not connected #1050
Milestone
Comments
With these patches: from apstools.devices import ApsMachineParametersDevice
class PatchedApsMachineParametersDevice(ApsMachineParametersDevice):
lifetime = None and # Guarneri-style device YAML configuration
# Objects only available at APS
# apstools.devices.ApsMachineParametersDevice:
instrument.devices.aps_device.PatchedApsMachineParametersDevice:
- name: aps the device reads with no errors: In [2]: aps.read()
Out[2]:
OrderedDict([('aps_current',
{'value': 4.48870120416729, 'timestamp': 1737588664.66941}),
('aps_aps_cycle',
{'value': '2025-1', 'timestamp': 1737588656.134683}),
('aps_machine_status',
{'value': 'MAINTENANCE', 'timestamp': 631152000.0}),
('aps_operating_mode',
{'value': 'Stored Beam', 'timestamp': 1737585231.161558}),
('aps_shutter_status', {'value': '0', 'timestamp': 631152000.0}),
('aps_shutters_open',
{'value': 0.0, 'timestamp': 1737070120.517166}),
('aps_fill_number',
{'value': 1.0, 'timestamp': 1737064981.489496}),
('aps_orbit_correction',
{'value': 0.0, 'timestamp': 631152000.0}),
('aps_operator_messages_operators',
{'value': 'Hotham, Sas-Pawlik, Lawson',
'timestamp': 1737463727.077164}),
('aps_operator_messages_floor_coordinator',
{'value': '', 'timestamp': 1736254955.609851}),
('aps_operator_messages_fill_pattern',
{'value': '', 'timestamp': 631152000.0}),
('aps_operator_messages_last_problem_message',
{'value': '', 'timestamp': 631152000.0}),
('aps_operator_messages_last_trip_message',
{'value': '', 'timestamp': 631152000.0}),
('aps_operator_messages_message6',
{'value': '', 'timestamp': 631152000.0}),
('aps_operator_messages_message7',
{'value': '', 'timestamp': 631152000.0}),
('aps_operator_messages_message8',
{'value': '', 'timestamp': 631152000.0})]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this PV still available?
The text was updated successfully, but these errors were encountered: