spi_trbv2 - The application to set the thresholds for TOF & RPC from TRB. 
It needs the special file with configuration of thresholds(configFile). 
How To:
Log in the trb, go to /home/hadaq and type:
spi_trbv2 configFile , where configFile is the file mentioned above.
The content of 
configFile
detector=rpc    # tof, rpc
mambo=4         #number od mambos
dac=8           #number of dacs
address=8       # number of addresses
# dont touch next line
MAMBOnr DACnr   address command value
0      0       0       3        0xfff
0      1       0       3        0xfff
0      2       0       3        0xfff
0      3       0       3        0xfff
0      4       0       3        0xfff
0      5       0       3        0xfff
.
.
.
-- 
RadekTrebacz - 07 Jan 2008