7e1fc78f76Moved curses from top-level import to function-level import and added a comment why that is necessarysmathis2024-10-24 10:49:18 +02:00
9e0d8a4322Added a new script utils/decodeMasterMACStatusR10.py which allows to decode the R10 status message of the MasterMACs controller.smathis2024-10-24 10:34:19 +02:00
3cccfe930cRemoved typo from C804Axis.cppsmathis2024-10-18 09:53:47 +02:00
8860d0c59fUpdated the first-time-poll of C804 Axissmathis2024-09-18 13:19:32 +02:00
b6c38be113Initial driver version for the C804 controllersmathis2024-09-17 11:53:31 +02:00
af61358351SINQSW-107 draft streamdevice based counterbox driverEdward Wall2024-10-17 17:09:49 +02:00
b14b50c25aMerge branch 'can-we-have-pipelines' into 'master'wall_e2024-10-14 10:07:16 +02:00
477ffdbc0bAdds CI-Pipeline with Formatting, Linter Checks and Build Stepswall_e2024-10-14 10:07:16 +02:00
b700fca383Commit first working version of the new PMAC-V3 driver. This version has been tested on the SINQTEST instrument. However, some important improvements (such as central polling in the controller) are still missing. They will be implemented in the next commit.
pmacV3-rewrite
smathis2024-10-11 17:19:41 +02:00
eb1bb58c36Fixed an uninitialized memory bug: In AmorDetectorAxis, the variables det_starting and det_startTime were not initialized before reading them in the poll function, leading to erratic behaviour.smathis2024-10-04 17:03:15 +02:00
80205727c7File pmacAxis.h: The default constructor of LiftAxis just forwards to the pmacAxis constructor, which has an optional argument "autoenable" with the default value "true". However, we want that argument to be false, hence we provide an explicit constructor.smathis2024-10-04 14:57:21 +02:00
fd763a26aeFirst draft for the new pmacV3 controller and axis. This draft is still buggy, please don't use it in production. The commit is only done to save the progress made so far. The changes to the C804 controller and axis are caused by applying clang-format.smathis2024-10-04 13:29:05 +02:00
39098fd0d1Adds .clang-format style for formatting filesEdward Wall2024-09-25 16:21:01 +02:00
d44fdbf736Updated the first-time-poll of C804 Axissmathis2024-09-18 13:19:32 +02:00
20e5c35d44Initial driver version for the C804 controllersmathis2024-09-17 11:53:31 +02:00
1539bfc66abugfix: don't need to run on initialisationEdward Wall2024-09-23 09:04:08 +02:00
9e4f24dd9fPlaying around with the initHooks.h trying to discover when different things are available and what order things are started
exploring_ioc_hooks
Edward Wall2024-09-20 14:27:40 +02:00
9ca5af4507In the poll method, it is now checked whether the parameter library has been initialized. If this isn't the case, the poll is repeated (this is triggered by returning an error from the poll method)
C804_driver
smathis2024-09-20 13:13:13 +02:00
4272ed2f50Bugfix: A disabled PMac is no longer consider movingEdward Wall2024-09-18 10:48:59 +02:00
87b7bece94Bugfix: A disabled PMac is no longer consider movingEdward Wall2024-09-18 10:48:59 +02:00
36b6e8b991Updated the first-time-poll of C804 Axissmathis2024-09-18 13:19:32 +02:00
5c0c917be9Merge branch 'initializer_for_EL734Axis' into 'master'mathis_s2024-09-10 09:19:24 +02:00
35c12274b0Merge branch 'master' into 'initializer_for_EL734Axis'mathis_s2024-09-10 09:19:06 +02:00
a6a8f14b26The member variable oredMSR of EL734Axis contains the axis status from the previous poll. Therefore, it needs to initialized with a sensible value (i.e. 1 which means that the axis is standing still and has no errors.smathis2024-09-10 08:58:59 +02:00
33f118ce1eFixed type in pmacController.cppkoennecke2024-08-20 11:14:18 +02:00
adf8b30692Minor changes to SINQ drivers: - Fixed enable/disable at MasterMACSkoennecke2024-08-20 11:12:18 +02:00
c972cce072Added girder translation axis drivers
Mathis Stefan
2024-07-18 13:43:12 +02:00
64c8b08ce4Fixed an initialisation bug in EL734Driver which prevented motors from being polled. The value in question was next_poll which is now set to -1 in the constructor.koennecke2024-06-07 13:36:34 +02:00
30228adf50- Fixed a enable PV initialisation bug in MasterMACS - Made the HRPT axis base itself on V3 of the pmacAxis - Improved and added utils programskoennecke2024-06-07 08:58:53 +02:00
235e403fb3- Added Makefile.RHEL8 for RHEL8 - Added a interMessagePeriod to SINQController, pmacController and MasterMACSController. Also a iocsh command to modify this at runtimekoennecke2024-02-23 11:30:46 +01:00
b4e201ae86Final version of the SINQ EPICS module for RHEL7 in 2023koennecke2024-01-11 14:05:49 +01:00
9422353107Alex: Committing Mark's fixes to el737 devsupsoederqvist_a2023-09-12 16:43:24 +02:00
e3ac2962f5- Many improvements to the MasterMACS driver - Slowing down the pmac driver - Fixing a bug in the Nanotec driver which caused an IOC crash when the motor sends bad datakoennecke2023-08-28 15:01:48 +02:00
7a81e2c5a0Reduced output from MasterMacsDriverkoennecke2023-07-13 10:57:07 +02:00
f1a17bc295Added AMOR detector tower special pmac motors: working nowkoennecke2023-07-07 13:54:21 +02:00
8a6441927aImplemented that enable commands are only sent when a status chnage is required Stop commands are only sent by EL734 and pmac when actually moving. The motor record logic calls stop() in an excessive way.koennecke2023-05-31 09:37:22 +02:00
72afd02b4eMany improvements to the MasterMACS motor driver. It is working but the hardware is shaky. Added support for dose rate controlled Phytron motors. Not tested! Small bug fixeskoennecke2023-05-31 09:13:41 +02:00
f333a27482Added missing file after merging MasterMACSkoennecke2023-03-21 15:05:25 +01:00
ccd73babd5First working version of the MasterMACS EPICS driver Also added some test codekoennecke2023-03-21 14:55:07 +01:00
b8896b7a85Implemented speed for the PMAC controllerkoennecke2023-02-22 11:54:54 +01:00
acf1751081Merge branch 'master' into speedkoennecke2023-02-17 10:46:06 +01:00
61290b5e2cAdded utility programs which update motor subsitutions files from the values read rom the actual controllerkoennecke2023-02-17 10:45:15 +01:00
d706915a46Implemented changing speed on EL734 Added a test IOCs for EL734koennecke2023-02-17 10:43:51 +01:00
3c9932dc18- Reduced poll rate of EL737 - Removed unneeded hardware limit reading code from EL734koennecke2023-02-16 14:29:05 +01:00
9b9072b83bImproved error handling in the EL737 scalerRecord driverkoennecke2023-01-31 11:42:04 +01:00
a899a28182sMore debugging output in devScalerEL737koennecke2023-01-11 15:08:18 +01:00
0cbfe45893Fixed ErormoveDriver to stop only on end switches when the target exceeds the limits. Otherwise motors would get stuck on the switches when trying to move off them.
pmacV3
koennecke2022-08-16 10:54:10 +02:00
542abcbaadpmac improve handling of the error message
Michele Brambilla
2022-03-02 06:37:33 +01:00
efbd0e19cfUpdated EuromoveDriver to work with Prologix GPIB-Ethernet Improved threshold handling on EL737 Minor changeskoennecke2021-06-17 09:30:28 +02:00
c9e7830274- Fixed reference run for Phytron - Added brake handling to phytron - Added code to set speed for phytron - Removed scaling on Selene pmac limits - Removed enabling on Selene pmac axiskoennecke2020-07-09 14:15:26 +02:00
d1d74f4db3Merge branch 'master' of ssh://git.psi.ch/sinqdev/sinqepicsappkoennecke2020-06-23 09:20:17 +02:00
d1beb9b0d8Merge branch 'master' of ssh://git.psi.ch/sinqdev/sinqepicsapp into amor-selenekoennecke2020-06-23 09:19:25 +02:00