05-05-2014 11:05 AM
Hello to labview community.
This is my first post, im a university student and we have started some projects to learn LV. My teacher gave us some programms in paper and i can't understand some objects, can someone help me ??
What kind of object is this ??
Is it Enum Constant ???
Regards, Kostas.
05-05-2014 11:09 AM - edited 05-05-2014 11:09 AM
@k.ifantidis wrote:
What kind of object is this ??
Is it Enum Constant ???
Hi @k.ifantidis,
Yes, looks like an Enum Constant
05-05-2014 11:35 AM
i can't understand what is the black corner on the object. When i create a enum constant it doesn't have this. Does it matter ?? Sorry for being annoying with my questions but im tottaly new and helpless at the moment.
05-05-2014 12:58 PM
The black corner means it is a type defined control. This means that any changes you make to the type def. get reflected into all other instances or copies you've made of that enum type def. in your VI. Try it, create an enum. constant and right click -> make type def.
05-05-2014 01:37 PM
To elaborate for a new LV programmer, the typdef is a very important concept. You are essentially defining this enumerated type to carry throughout your code. If you plan on using this type in more than one place (most likely the answer is yes) you will benifit by defining the type for reuse.
05-05-2014 02:06 PM
These users are absolutely correct. It is a Typedef. You can read all about them here: http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/custom_cont_ind_type/#Type_Definitions...
From the article:
You can identify the instance of a type definition or strict type definition on the block diagram with a glyph marking the upper left corner of the instance . If you hover the cursor over the glyph, a tip strip displays the name of the type definition or strict type definition.
05-05-2014 02:11 PM
Thank you guys for your valuable help !! 🙂
Best regards, Kostas.