Open
Conversation
This was referenced Mar 6, 2026
… use source emulator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SocketWriter does the following:
e.g.
1007->writer1
1008->writer1
1009->writer2
1010->writer2
Writers enqueue function does the following:
This is to prevent multiple async writes on the same socket.
Changed writers to bind their sockets to local_ip:local_port. Previously, it was left to the OS.
SocketReader does the following:
{Sender1,Stream ID:0}->DHL1007
{Sender1,Stream ID:1}->DHL1008
{Sender2,Stream ID:0}->DHL1009
{Sender2,Stream ID:1}->DHL1010
(Identify senders by remote IP-remote port pair.)
If TCPReader, sender is identified during socket creation.
If UDPReader, sender is identified for each received packet.
appmodel PR dte/crt_topology_change
daqsystemtest PR dte/crt_topology_change
crtmodules PR dte/crt_topology_change
asiolibs PR dte/crt_topology_change
daqconf PR dte/crt_cb_update
datahandlinglibs PR dte/cb_acquire
fdreadoutmodules PR dte/crt_rates
This diagram shows the relationships between configuration objects and modules. Here, SocketDetectorToDaqConnection1 represents socket_crt in the example config in daqsystemtest.
CRT readers communicate with socket writers via callbacks.
Socket readers communicate with DHLs via callbacks.
To try out:
drunc-unified-shell ssh-standalone config/daqsystemtest/example-configs.data.xml local-socket-1x1-config ${USER}-local-testpytest -s integtest/socket_reader_test.pyType of change
Testing checklist
python -m pytest)Further checks
dbt-build --lint, and/or see https://dune-daq-sw.readthedocs.io/en/latest/packages/styleguide/)