I am sorry Alloush. I am a firm believer in learning by doing.

You are doing really well for your third day, I must say. I will walk you through what I did.
First go to the block diagram. Right click on the Measurement indicator and select Create>Property Node>Value.

Drag the created node off to the side and switch over to the Clear case. Drag the property node into the cleare case. Right click on it and select Change to Write. This will allow us to write whatever you want to the graph. Since we want nothing (i.e. default data), we can right click on the input terminal and select Create>Constant.

The wait is pretty simple. You can find it on the Timing palette. Without the Wait, the vi will attempt to process the Initialize case over and over as fast as it can. 1ms is enough of a break to free up the processor for other tasks, while short enough to prevent the bizzare case of someone pressing two buttons at the same time.

Finally, if you grab the case structure and drag it down a couple inches, you will see that the stop condition for the while loop is hiding back there.
Message Edited by jasonhill on 08-15-2006 09:41 AM
Message Edited by jasonhill on 08-15-2006 09:42 AM
Message Edited by jasonhill on 08-15-2006 09:44 AM
Message Edited by jasonhill on 08-15-2006 09:44 AM