# Developer

Commands to be used only for software debugging. Avoid using them!

- test returns an error

- help Returns a list of possible commands.

- exitserver Shuts down all the detector servers. Don't use it!!!!

- exitreceiver Shuts down all the receivers. Don't use it!!!!

- flippeddatay [i] enables/disables data being flipped across y axis. 1 enables, 0 disables. Not implemented.

- digitest [i] will perform test which will plot the unique channel identifier, instead of data. Only get!

- bustest performs test of the bus interface between FPGA and embedded Linux system. Can last up to a few minutes. Cannot set! Used for Mythen only. Only get!

- digibittest:[i] performs digital test of the module i. Returns 0 if succeeded, otherwise error mask. Only put!

- reg [addr] [val] ??? writes to an register `addr` with `value` in hexadecimal format.

- adcreg [addr] [val] ??? writes to an adc register `addr` with `value` in hexadecimal format. Only put!

- setbit ??? Only put!

- clearbit ??? Only put!

- getbit ??? Only get!

- r_compression [i] sets/gets compression in receiver. 1 sets, 0 unsets. Not implemented.