10-20-2011 03:42 AM
hi guys,
Could you help me? I am studying Labview from a book and I could not find a way to form a component. I took a printscreen on and add it a paint file on the attachment. The componenet that I could not find the form is bordered by a red frame in the attachment.
Solved! Go to Solution.
10-20-2011 04:23 AM
It's a constant. Just right-click on the input that takes this constant and choose Create->Constant, it will create what you need.
Br, Mike
10-20-2011 06:04 AM
are you sure about that it is constant? when I added constant it will show me just a value but in the scheme there is an arrow for choosing one selection.
10-20-2011 06:11 AM
That is the Enum constant. It allows you to select the allowed values for the enum type.
10-20-2011 06:15 AM
@newbieeng wrote:
are you sure about that it is constant? when I added constant it will show me just a value but in the scheme there is an arrow for choosing one selection.
I forgot to ask you: how did you create the constant?
10-20-2011 06:21 AM
@Miha Vitorovic wrote:
@newbieeng wrote:
are you sure about that it is constant? when I added constant it will show me just a value but in the scheme there is an arrow for choosing one selection.
I forgot to ask you: how did you create the constant?
I opened the pop-up menu of "Sample Clock VI" and then chose "Create-Constant"
10-20-2011 09:18 AM
Maybe you missed with your click? If you right-clicked in the right place you should see the right enum. You have to right-click exactly on the spot where you would connect a wire to.
10-21-2011 01:26 AM
I am using labview 2009 academic suite. and I clicked the rgiht spot but there is no enum .
10-21-2011 07:48 AM
It's an Enum constant as mentioned. If the VI it connects to has an Enum as input you can r-click the input and create constant and you'll get one of those. Else you'll have to create one of your own (preferably as type-def) if you want a self documenting VI.
From a funtional standpoint it's an integer and you can connect a integer constant, but it's not as easy to read what your choice is then ...
/Y
10-21-2011 08:49 AM