LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sum Array

Solved!
Go to solution

how i can sum different array for build other rectagnels?

lab help.png

 

0 Kudos
Message 1 of 12
(3,729 Views)

something like this?

 

multi_rect.png

0 Kudos
Message 2 of 12
(3,713 Views)

 THX but no.. i Need just one controller and one Botton for Save

0 Kudos
Message 3 of 12
(3,701 Views)

Just keep adding sliders.  Set the first one to "Fill to Value Above",  second one to "Fill to Value Below",  and repeat. 

2018-12-04_15-30-17.png

aputman
Message 4 of 12
(3,675 Views)

Aputman with this solution i cant add  endless rectangles afther the compilation.. THX for the support 


@aputman wrote:

Just keep adding sliders.  Set the first one to "Fill to Value Above",  second one to "Fill to Value Below",  and repeat. 

2018-12-04_15-30-17.png


 

0 Kudos
Message 5 of 12
(3,671 Views)

@Diell.it wrote:

Aputman with this solution i cant add  endless rectangles afther the compilation.. THX for the support 



Then you should have made that clear in the original post. 

 

Sliders can be added via invoke nodes during runtime.  I'm not sure you'll want to add endless sliders....may be a bit hard to read. 

 

Edit: Sorry, that is a scripting function, not available in runtime.

aputman
0 Kudos
Message 6 of 12
(3,668 Views)

I simply explain, the program has to control an intermittence to a bolean, I was hoping to solve with an "insert into array" but it does not seem possible

0 Kudos
Message 7 of 12
(3,658 Views)

If you are always going to add a rectangle, could you use an event structure in a loop and add a rectangle (specified by the slider control) every time they click a button?  Then use shift registers to carry the existing rectangles.  Also, you should not need so many plots - even one plot should suffice unless you need different colours.  You may be able to change the interpolation style to suit your needs better.

0 Kudos
Message 8 of 12
(3,626 Views)

You are a genius, but I do not know how to realize your idea, if you have some time, you could send a vi demonstrating how to do it
For now I used the alexderjuengere solutionfine.jpg

a picture can make you understand what I'm doing.
thank you 🙂

0 Kudos
Message 9 of 12
(3,587 Views)
Solution
Accepted by Diell.it

It is just an example of what you could do. You will need to add functionality to it, for example to remove one or start over, or to have different channels like you have.

0 Kudos
Message 10 of 12
(3,567 Views)