Both. The read head has electronics the interoplates the pulses from the lines on the glass. There is no way to tell by eye. The easiest way is to connect the scale to your machine encoder input and see how many pulses it generates in 1 inch or 25mm of movement.