LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A add button

How can I create a add button for selected items (indicators, controls or etc) or a item group.

 

Example: i have a row and this row include " text control and indicator + numeric control and indicator + combo box etc " when I press add row button

 

a new row (same old) creating.

 

Thank You.

0 Kudos
Message 1 of 10
(3,011 Views)

Hi,

 

You could use an array of clusters to add multiple controls with the click of an add button.

 

Is this the sort of thing you need?

See attached.

0 Kudos
Message 2 of 10
(3,006 Views)

Hi Phil_ Thanks for your interest. Your file for LV2013 please can u save file for LV2012.

 

Best Regards.

0 Kudos
Message 3 of 10
(2,996 Views)

There you go:

Message 4 of 10
(2,985 Views)

in my rows not full indicators or controls 

a row can have a control and indicator.

 

 

0 Kudos
Message 5 of 10
(2,944 Views)

Then you need make your array a control.  For the items that you want to behave like indicators, you will need to disable them (and change the appearance if you want a grey background like an indicator instead of white like a control.)

0 Kudos
Message 6 of 10
(2,931 Views)

Hi. I fixed my row now. But a need help again.

 

I cant use elements in my row. 

 

How can i use this elements for my numeric process

 

row1 have string control-1, numeric control-1, etc. when i click add button

 

row2 have to  string control-2, numeric control-2, etc

 

and i must use this elements with a local variable.

 

 

0 Kudos
Message 7 of 10
(2,890 Views)

To use the elements in a specific row, you will first need to index the array, then unbundle the cluster.

Like so:

index and unbundle.PNG

(assuming am I understanding your problem correctly?)

0 Kudos
Message 8 of 10
(2,880 Views)

Row1: string control-1, numeric control-1, string indicator-1, numeric indicator-1, etc-1.

Row2: string control-2, numeric control-2, string indicator-2, numeric indicator-2, etc-2.

.

.

.

.

 

____________________________

 

I will need example:

numeric control (or indicator)-1 x numeric control (or indicator)-2

numeric control (or indicator)-1 / numeric control (or indicator)-2

numeric control (or indicator)-1 + numeric control (or indicator)-2

numeric control (or indicator)-1 - numeric control (or indicator)-2

0 Kudos
Message 9 of 10
(2,872 Views)

Surely you can work this one out for yourself....

 

 

add two rows.PNG

0 Kudos
Message 10 of 10
(2,864 Views)