The data acquisition system of the RFX experiment