You have too many cases (167) That is a number you can't maintain.
The reason you get a numeric as datatype and not an enum is because you should change the enum into a type def control.
To do this right click the instance left of the while loop->Create control. On the control on the front panel right click->advanced->Custimize control and set the control to type-def (see attachment).

Then save this control, and use this everywhere.
But first limit you cases, or use a plain string to explain the state...
Ton
Message Edited by TonP on 10-16-2006 08:05 AM