The power input to the ROACH2s can be controlled by the Raspberry Pi integrated in to the gain box. A feedback on the power levels are only possible by consulting the output of the ROACH2 ADCs (either ADC histograms or the output of the PFB-FFT). This of course will only be possible if the ROACH2 FPGA is programmed appropriately, or configured with the right gateware.
python /home/pulsar/roach2/NewFirmware/r3xsetup_new.py
python /home/pulsar/roach2/NewFirmware/r3xadchist_new.py
roach2attn <id> <atten>
, where id is 1,2,3 or 4, and attenuation is in the range of 0.5-30.5 dB in steps of 0.5. See example in the screen shot below.