LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subarray elements addition

Hi,
    
 
0 Kudos
Message 1 of 16
(3,747 Views)
Please give some more details about what you are doing. Just by heading "subarray elements addition" didn't give more details.
0 Kudos
Message 2 of 16
(3,744 Views)

 

Hope this helps....



Message Edited by Vsh on 05-27-2008 02:23 AM
Message 3 of 16
(3,738 Views)
hi,
         Thank you so much. i have one more doubt regarding array addition. I want to add the consecutive array elements & this process must be controlled by an add button. i.e. say, array given is {0,1,2,3,4,5}. I want the addition as follows : {0+1}, {1+2}, {2+3}, {3+4}, {4+5}. The addition must be done iff add button is enabled.


Message Edited by Sithu on 05-27-2008 02:39 AM
0 Kudos
Message 4 of 16
(3,728 Views)

Hi Sithu,

try this example. Where do you need the button?

Mike



Message Edited by MikeS81 on 05-27-2008 09:44 AM
Message 5 of 16
(3,720 Views)
Here's another possibility.
 
 
I don't understand your requirements with the button.
Maybe you can use a case structure and place the algorithm in one case while wiring the input array across in the other case.
Maybe you want an event structure.
Please be more specific.
 
 


Message Edited by altenbach on 05-27-2008 12:58 AM
Message 6 of 16
(3,714 Views)
thanks Mike... Ill explain clearly.
1. the user can input an array of any dimension.
2.the addition must be performed as per the logic you said.
3.the task must be performed when the user presses the add buttton.
4. when the button is released the task is stopped.
5. addition process is resumed when the user again presses add button.(result till the previous addition is stored in a buffer.)
0 Kudos
Message 7 of 16
(3,708 Views)
i have included the details. any idea?
0 Kudos
Message 8 of 16
(3,689 Views)

Hi Sithu,

here is an example, but where do you need it?

Mike

0 Kudos
Message 9 of 16
(3,668 Views)
Thanks Mike... actually my boss gave the question to work out.
0 Kudos
Message 10 of 16
(3,656 Views)