realtimeradio / vla-dev

Ethernetization/Channelization Firmware for the VLA-COSMIC FPGA system
GNU General Public License v3.0
1 stars 3 forks source link

Add options to send different feng_ids to different IP/PORT destinations #8

Closed jack-h closed 2 years ago

jack-h commented 2 years ago

Useful (vital) in order to separate F-engine IDs which are really different IF tunings. Might require the downstream receiver to do something to account for the possibility of receiving non-contiguous feng_ids

jack-h commented 2 years ago

@radonnachie this looks plausible. "Tested" with the vla_f_config.yaml config file, to the extent that CosmicFengine.packetizer._read_headers() returns seemingly correct results. Would definitely be worth testing with test vectors to see if the data supposedly coming from the different feng-ids really is. Note that I'm not dividing down feng_id in the header entries by 2, so I'm leaving you to deal with the fact that the downstream pipeline will likely now have a data stream containing only even/odd feng ids.