Devices characterised by the use of electric or magnetic means for measuring linear speed by measuring frequency of generated current or voltage