Here is another cool example from the LabVIEW examples that ship with the NXT module:
Description:
This example is for the LEGO MINDSTORMS NXT. The program uses a while loop and shift register to add 1 to the value of the previous iteration, the value is displayed for one second resulting in the NXT counting by seconds.
Nice and simple, but very cool.