Skip to content

Scan too fast when in shm mode #72

@ksmith0

Description

@ksmith0

After playing around with the scope some I believe that the errors reported below occur when the scan code gets ahead of the shm transmission. If I artificially slow the scope ProcessRawEvent code down the messages disappear. @cthornsb, perhaps you can comment on what is causing this?

ReadSpill: Received spill of 4052 words, but read 13160 words
ReadSpill: Spill split between buffers
ReadSpill: bad buffer, numEvents = 0
ReadSpill: bad buffer, numEvents = 0
ReadBuffer: Unexpected header length: 0
ReadBuffer:   Buffer 0 of length 13289
ReadBuffer:   CHAN:SLOT:CRATE 2:0:0
ReadSpill: Received spill of 4052 words, but read 13289 words
ReadSpill: Spill split between buffers
ReadSpill: bad buffer, numEvents = 0
ReadSpill: bad buffer, numEvents = 0
ReadSpill: bad buffer, numEvents = 0

As a side, should ProcessRawEvent be plural?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions