In updating to odin to work with stream2 some simplifications have been made.
The receivers have been removed entirely
The fan is optional
There is an option to have 1 or 4 writers
I am hoping to use a single writer and no fan everywhere, but we need to verify that it is sufficient to handle the data rates. It may be easier to patch things enough to test a single writer and then if it works then decide to only support a single writer to simplify the code, rather than to update it to work in either case.
I am going to try to override FramesDropped_RBV to be eiger specific but it might need to be a new PV if it isn't possible
I don't see any specific examples, but don't set AcquisitionID - I have disabled the record so that it is always empty and doesn't ignore any frames (and am now checking the series ID from the start message to make sure the image messages are in the expected acquisition)
And depending on if it needs to support both single writer and fan with 4 writers:
Use OD:NumProcesses_RBV to query only the writers that exist
Don't check the fan is initialised / connected here
In updating to odin to work with stream2 some simplifications have been made.
I am hoping to use a single writer and no fan everywhere, but we need to verify that it is sufficient to handle the data rates. It may be easier to patch things enough to test a single writer and then if it works then decide to only support a single writer to simplify the code, rather than to update it to work in either case.
Changes I can see from reviewing the code:
FramesDropped_RBV
to be eiger specific but it might need to be a new PV if it isn't possibleAcquisitionID
- I have disabled the record so that it is always empty and doesn't ignore any frames (and am now checking the series ID from the start message to make sure the image messages are in the expected acquisition)And depending on if it needs to support both single writer and fan with 4 writers:
OD:NumProcesses_RBV
to query only the writers that exist