Closed varenius closed 3 years ago
Hi Eskil, your memory is too vague, unfortunately. This has been a feature, dating from the earliest e-VLBI transmissions. Others have "complained" about this before, but so far, to not let such an error go by silently, has proven to be a good diagnostic. The system is already very complex and "silent errors" are a topic that requires continuous evaluation: when & where to allow. I think that ultimately the vdif framesize should be driven by what's configured in the VEX2 $DATASTREAMS block; there the data format is defined what the user expects the system to deliver. Where possible, the subsystems should try to verify that it is indeed providing what's expected. (But of course this is subject to negotiation by all parties involved ...)
Personally I like the error, I was just surprised :). Good to learn it was my memory that was "wrong" in this case. I think we can let this rest.
Playing around, I decided to set the recording mode to expect VDIF packets with 8192 bytes payload (8224 total size) but instead fire packets with payload size 8000 bytes (8032 total size). I got:
I was surprised by this, because I had a vague memory that jive5ab would adapt to whatever is being trown at it, regardless of the setting. But, indeed it seems it refuses to record the "wrong" format. This is fine with me, but I just wanted to check if this is a bug or feature?