Skip to content

[ENHANCEMENT] retries on failed software trigger frames #822

@barentine

Description

@barentine

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when the ocassional tile overview locks on

DEBUG:PYME.Acquire.HTTPSpooler:Starting spooling: Bergamot/2021_2_2/EMC0104S3_4/D4.pcs
'http://10.150.7.4:15348/Bergamot/2021_2_2/EMC0104S3_4/D4.pcs/metadata.json'
INFO:PYME.Acquire.htsms.rule_ui:protocol name : htsms-tile
DEBUG:PYME.Acquire.Utils.pointScanner:Current positions: {'x': 36000.0, 'x_target': 36000.0, 'y': 27000.0, 'y_target': 27000.0, 'z': 49.9697, 'z_target': 50.0}
Warning: not keeping up with camera, giving up with 0 frames still in buffer
nse
ERROR:PYME.Acquire.Hardware.HamamatsuDCAM.HamamatsuORCA:DCAM error for dcamwait_start with return value -2147482879: Lost Frame detected!

Describe the solution you'd like
when this happens it can be rescued through the shell with

scope.frameWrangler.stop()
scope.frameWrangler.Prepare()
scope.frameWrangler.start()
scope.cam.FireSoftwareTrigger()

I do not know how necessary the framewrangler restart is, but in the past when we've tried simply pausing and following with another software trigger we haven't had much luck. If I hit this again I'll try just with the trigger first and see what happens.

Describe alternatives you've considered
failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions