-
Notifications
You must be signed in to change notification settings - Fork 0
Ticket8614 mercury ips magnet supply #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
Conversation
…lator tree into this support module, as the modern and preferred method
…lanning on splitting the device and states was not a good idea, so have reworked the existing files to cater for both variants
…he response, which should have been %*f reads, but were %f, which messed up the record.
… ProcServLauncher in IOC parameters to significantly speed up IOC instantiation. Left as comment in case needed again at a later date.
…larmsTemperatureBoard, readSysAlarmsLevelMeterBoard, the latter are "I/O Intr" type records"
…net temperature board status.
…eter board status in modes.py
…ding rate SLOW or FAST.
…tes setting and reading.
… tests as these PVs are no longer needed and removed
Tom-Willemsen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Should: have you run the python files through
ruff format?
c:\Instrument\Apps\EPICS\support\IPS\master>r format --check
Would reformat: system_tests\lewis_emulators\ips\device.py
Would reformat: system_tests\lewis_emulators\ips\interfaces\stream_interface.py
Would reformat: system_tests\lewis_emulators\ips\interfaces\stream_interface_scpi.py
Would reformat: system_tests\lewis_emulators\ips\modes.py
Would reformat: system_tests\lewis_emulators\ips\states.py
Would reformat: system_tests\tests\ips.py
Would reformat: system_tests\tests\ips_common.py
Would reformat: system_tests\tests\ips_scpi.py
8 files would be reformatted, 5 files already formatted
system_tests/lewis_emulators/ips/interfaces/stream_interface_scpi.py
Outdated
Show resolved
Hide resolved
system_tests/lewis_emulators/ips/interfaces/stream_interface_scpi.py
Outdated
Show resolved
Hide resolved
system_tests/lewis_emulators/ips/interfaces/stream_interface_scpi.py
Outdated
Show resolved
Hide resolved
Yes - Ruff and Pyright both were passing. |
…ing legacy timeout issues.
… loading efficiency at test time (as with the SCPI IOC)
fdc1b39 to
3590a5e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed - no point leaving misleading stuff in there that isn't used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to have moved common tests to a module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
system_tests/tests/ips.py
Outdated
| "directory": get_default_ioc_dir("IPS"), | ||
| "emulator": EMULATOR_NAME, | ||
| "lewis_protocol": "ips_legacy", | ||
| # "ioc_launcher_class": ProcServLauncher, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I seem to have a bad habit of leaving commented out code cluttering the place.
Added support for the new Mercury IPS SCPI protocol and additional features.