-
Notifications
You must be signed in to change notification settings - Fork 2
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
SANS2D: Front Detector Beam Stop #4581
Comments
Inhibition:
The DISP is on the axes record. We have not used the inhibtor because it does not react to change like this and this is a |
Would we need to set DISP on both the motor and axis for safety? DISP only disables channel access puts and not ones linked from within the IOC, if this is a potential concern would it be better to disable the motor record itself from scanning? |
Would that not stop the Stop button from working on the motor because it is a field |
@John-Holt-Tessella Do we need to be able to use the stop button if we are not able to start motion? |
A recent tech talk post suggests people set DISP and also disable the motor record (either by linking SDIS or writing to DISA). The only side effect of disabling the motor record is it stops the endoder readback updating on the record, so if the axis was (manually) moved this would not be displayed until the record was re-enabled. |
@FreddieAkeroyd I would like not to disable the stop button if something goes wrong and we somehow disable the stop button but don't stop the motor that would be bad. |
DISP will disable direct channel access but not indirect record processing, so setting motor.DISP will stop access to MOTOR.STOP via the GUI channel access, but would not access to motor.STOP from a record in the same IOC. It seems to follows the same rules as access control. However the docs said "stops dbPutField (usually channel access)" - i am not sure what else uses dbPutField. So I think you can't disable sending moves on the low level motor GUI screen unless you also disable the stop button on that GUI. However if the DB logic sends a stop if it sees movement then maybe that is good enough? Could you also use the SPMG field? |
Works as advertised and good tests. The labview also inhibits the detector if the beamstop is rotated. The logic is the same, that the detector can only rotate if -2 < beamstop rotation < 2. This makes sense as if they're going to collide when both rotated it doesn't matter what the order of rotation is. If this is no longer required can you document why. I also think the documentation could be a bit clearer, it took me a while to work out what it was saying and the distinction between setting DISP on the axis/motor record (sorry that's a vague review comment). |
As a SANS2D scientist, I want IBEX to provide control for the front beam stop, so that I can control its position.
Acceptance Criteria
Notes
C:\LabVIEW Modules\Instruments\SANS2D\Sans2d Tank
(for more details see theS2d Tank - Front Panel.vi
in the fileSans2d Tank - System Functions.llb
)The text was updated successfully, but these errors were encountered: