A few last suggestions

Top  Previous  Next

Debugging

 

The Server Is Your Friend. Use its debugging facilities and monitor what your program is doing.

 

Front ends

 

A text-based (console mode) front end offers little opportunity for the user to wreak mischief. However, Windows-based front ends typically offer a host of buttons to press or menu items to choose; you must ensure that the user can't do anything inappropriate (like disconnect from the server without saving the data, or trying to connect twice). The usual way of achieving this in Windows is to disable ('grey out') the relevant buttons so they can't be selected when their use is unsuitable.

 

Controlling multiple boxes

 

Think twice before doing this. One of the strengths of Whisker is that you often don't need to; you can run a second copy of a simple one-box program. If you do need to control several boxes from the same program, remember the following:

 

For yoking, you can always give two output lines the same name and they'll be controlled as one.
You must name your inputs so you can distinguish them (e.g. Box_1_LeftLever, Box_2_LeftLever).
Be extremely careful not to introduce 'cross-talk' errors, when you misdirect data or commands to or from the wrong box.