Skip to content

Add FWClear for all detectors#98

Open
ericonr wants to merge 2 commits intoareaDetector:masterfrom
ericonr:clear-all
Open

Add FWClear for all detectors#98
ericonr wants to merge 2 commits intoareaDetector:masterfrom
ericonr:clear-all

Conversation

@ericonr
Copy link
Copy Markdown
Member

@ericonr ericonr commented Apr 23, 2026

Fixes #94

Pending testing as well, I hope to try it out on Monday.

I wasn't able to edit the widget, would welcome aid there. I'm not at all used to ADL.

ericonr added 2 commits April 23, 2026 11:48
It's not clear why it was made exclusive to Eiger1, since the command is
available and working in all API versions.
It's more adequate for a command.

The labels for ZNAM and ONAM are the same, since processing this record
always causes the command to run.
@MarkRivers
Copy link
Copy Markdown
Member

@ericonr if your tests show that FWClear works with Eiger2 then I will add it to the OPI files for Eiger2.

@ericonr
Copy link
Copy Markdown
Member Author

ericonr commented Apr 27, 2026

Using this with Pilatus4 causes a 404 error, because the driver always sends {"value": 1}, while API 1.8.0 expects either an empty string or {}.

So part of the implementation still has to be specific to the API version... As far as I can see, eigerParam does not currently support parameters with an empty value (basePut is always called with some rawValue), though RestAPI already does.

If I turned mFWClear into a string parameter, I could override whatever value is written in order to send an empty string, but that seems somewhat messy.

How do you suggest I implement this functionality?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FWClear is implemented only for eiger1 but it exists in Simplon 1.8.0

2 participants