LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

type defination

Solved!
Go to solution

 hi all

 

i need a little help with type definitions with the enumerated type constant .... how do i create them

thnx

Message Edited by nolsqn on 01-10-2010 10:22 PM
Regards
0 Kudos
Message 1 of 2
(2,577 Views)
Solution
Accepted by topic author nolsqn

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.

Message 2 of 2
(2,568 Views)