NSLS-II / Bug-Reports

Unified issue-tracker for bugs in the data acquisition, management, and analysis software at NSLS-II
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Issues with dif_beam camera and scan at CSX #122

Open ambarb opened 8 years ago

ambarb commented 8 years ago

dif_beam stats are plotted with vairous motor scans. If the scan is paused, the camera does not move back to continuous mode (mode prior to scan). It is stuck in multiple.

PV parameters:

XF:23ID1-ES{Dif-Cam:Beam}cam1:ImageMode
    Native data type: DBF_ENUM
    Request type:     DBR_GR_ENUM
    Element count:    1
    Value:            Continuous
    Status:           NO_ALARM
    Severity:         NO_ALARM
    Enums:            ( 3)
                      [ 0] Single
                      [ 1] Multiple
                      [ 2] Continuous
tacaswell commented 8 years ago

This is expected, it should only roll back to the previous state when it is unstaged (which is not done when paused).

ambarb commented 8 years ago

Sorry @tacaswell . I wasn't clear enough. It was paused and stopped/aborted. I will work out the details (now that I don't remember them) when the current users leave the beamline - ETA next Monday.

tacaswell commented 8 years ago

Oh, that is much worse. Put something on my calendar (~1 hr) to look at this.

klauer commented 8 years ago

@tacaswell The order of the unstaged signals may be key here - stop acquisition, then set continuous mode, etc.

tacaswell commented 8 years ago

I take it that it may be more sensitive to that order maybe more sensitive it it has not finished the acquisition?

danielballan commented 8 years ago

IIRC unstage does run correctly in reverse order -- I think that's tested.

klauer commented 8 years ago

It should be tested and working - my comment was merely that stage_sigs should be one of the first things to check when you sit at the beamline.