- Community Home
- :
- Discussion Forums
- :
- Most Active Software Boards
- :
- LabVIEW
- :
- Re: Saving initial values (values from first iteration) of a 4-element 1D array so i can use them for arithmetic operations for values from succeeding iterations

turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

vjm-ndt

Member

03-29-2010 02:33 PM

Options

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report to a Moderator

Im trying to save/put in memory the first iteration values of a 4-element 1D array and use them to do arithmetic operations on the initial and succeeding values of the same array.

Here's what i'm trying to do:

Let's say the first iteration results to an array with values (2, 4, 6, 8)

Second iteration values = (4, 8, 12, 16)

Third iteration values = (6, 12, 24, 48)

The resulting array will display:

1st iteration = (2, 4, 6, 8) divided by (2, 4, 6, 8) = __(1, 1, 1, 1)__

2nd iteration= (4, 8, 12, 16) divided by (2, 4, 6, 8) = __(2, 2, 2, 2)__

3rd iteration = (6, 12, 24, 48) divided by (2, 4, 6, 8) = __(3, 3, 4, 6)__

Any help would be appreciated and Thanks in advance!

03-29-2010 02:43 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report to a Moderator

vjm-ndt

Member

03-29-2010 02:47 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report to a Moderator

sorry but my version of Labview is 8.0

03-29-2010 02:59 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report to a Moderator

Highlighted
##
##### Re: Saving initial values (values from first iteration) of a 4-element 1D array so i can use them for arithmetic operations for values from succeeding iterations

Options

03-30-2010 07:22 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report to a Moderator

I've attached a JPG of the block diag.