LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create an array from an input array values and fixed data for each row

Dear all,
I need to generate a 2D array to store some equations (stored as strings).
The equations all look alike except for the configuration dependent values.

Here is an example:

x + a[1] - 7*b[1]
x + a[2] - 7*b[2]

x + a[n] - 7*b[n]

a[1..n] and b[1..n] are stored prior in two 1D arrays

I attached an idea, which looks kind of OK from my point of view. The problem is that
my application is slightly more complicated and the "Insert into Array routine" has just too many inputs.

Any ideas for a nice and small little redisigne?

How would one concatenate all columns in each row to obtain a 1D array of equation strings?

Liebe Grüße
Phili
0 Kudos
Message 1 of 3
(2,241 Views)
If I am understanding your questions correctly, the following should work.
I left your original design as a comparison and added the FOR loop.
 

Message Edited by nyc on 02-22-2006 11:18 AM

Message 2 of 3
(2,236 Views)
nyc,
that's exactly what I wanted.

Thank you!

Phili
0 Kudos
Message 3 of 3
(2,225 Views)