Which type of component used to calculate the moving particle length in it's stable condition bt it convert the data to electrical pulses?

for example , moving wood bar s run in conveyor now that bar cut the specific length...how s it do?which component was used to measure the length at moving condition?and that component was convert the measuring value to electrical pluses?

Report as