I am running an AreaDetector program based off of Mythen. The protocol is for the IOC to listen to a socket, first reading two headers, then the payload. The headers appear to be read correctly, as the reported image size and byte count
are correct. However, the IOC usually doesn’t read the requested number of bytes; the number seems random, and on one occasion a full frame was read. However, the return value and EOM value from asynOctetSyncIO are zero for the first payload transaction.
Future reads return a timeout, as corrupted headers result in large reads that are not met by the data source. Is there a buffer option or similar I am missing?
Iain Marcuson
Software Engineer, Sydor Technologies
585.278.1168 |
www.SydorTechnologies.com
Skype: iain.marcuson at sydorinstruments.com