01-10-2010 10:22 PM - edited 01-10-2010 10:22 PM
hi all
i need a little help with type definitions with the enumerated type constant .... how do i create them
thnx
Solved! Go to Solution.
01-10-2010 10:39 PM
1. Create an enum control on the front panel.
2. Edit the items in the control as needed.
3. Right click on the control, choose advanced , customize. The control editor will open up.
4. Click on the drop down and choose TypeDef. If you want the appearance of the enum to be locked in, then choose TypeDef (strict). But generally the regular typedef is all you need.
5. Close the editor, replace the original control, and save the TypeDef to a .ctl file.