Hello Kleaman,
The lickometer has an infrared emitter positioned opposite to a phototransistor. The infrared emitter needs power. You'd need to supply a 5V DC source in series with a 500 ohm resistor. The phototransistor is normally high resistance, but becomes very low resistance when exposed to infrared light. You'd need to pull an NI digital input channel weakly high by attaching a 15k resistor between the input channel and the 5V supply, and connect the phototransistor between the same input channel and digital ground.
Here's the operating principle: when nothing is in the beam path, the infrared light hits the phototransistor which becomes a low resistance path to ground, pulling the NI input line low (0V). When a tongue breaks the beam, the phototransistor goes back to high resistance, and the 15k pull-up resistor pulls the line high (5V).
I hope this helps,
-Josh