How to start a demo system for System Control testing¶
These instructions describe the steps to start a "demo" ds50daq system that simply goes through the motions of reacting to System Control commands, but does not talk to any hardware and doesn't transfer any data. Each of the DAQ processes simply steps through its internal state machine and forces each transition to succeed. So, if you try to send such a system an invalid command (e.g. telling the system to pause when it hasn't even been initialized yet), it will complain, but otherwise it will simply pretend to take the action that was specified in the System Control command and move to the appropriate next internal state.
The first step is to set up your account to run the ds50daq software on one of the teststand machines at LNGS or FNAL. Instructions for doing that are here.Once you have a build of the ds50daq code from the develop branch in git, then you can run the following commands from your account:
source <yourDS50DAQRepositoryDirectory>/ups/setup_for_development -p
- to stop the demo system, use <ctrl>-c
- boardreader, port 5440
- boardreader, port 5441
- eventbuilder, port 5450
- eventbuilder, port 5451
- this will start a 2-by-2 system that has the processes running on ports 5400, 5401, 5410, and 5411.