LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you state the range for each row?

Here's the interpretation I was describing.  I used the OpenG random number.  But you can recreate that code easily enough.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 11 of 19
(1,791 Views)

oh...i see....ok but I'm still not getting the range for each row 😞

0 Kudos
Message 12 of 19
(1,781 Views)

If you see, then you should have it.

 

If you don't have it, then post the latest version of your code.

0 Kudos
Message 13 of 19
(1,776 Views)

I only have the 2D random numbers working for now....I need to have the ranging work for each row in the array

0 Kudos
Message 14 of 19
(1,772 Views)

Show us the VI!

 

You can't say something doesn't work and expect help if you don't show us what you are doing.

 

If you followed Jeff's code, you would have it.  You posted a snapshot of code that was ALMOST like Jeff's code, but had one small mistake in it: a basic math error.

0 Kudos
Message 15 of 19
(1,768 Views)

I've tried Jeff's code in the attachment

 

0 Kudos
Message 16 of 19
(1,765 Views)

There is absolutely no way you could have gotten the 2-D array you've shown with the code you've posted.

 

I said to post a VI, not a screenshot.  There could be something hidden going on in your code that we can't see that might explain the problem you are having.

 

And your screenshot does not match Jeff's code.  Compare your code to his again.  "Basic math error" was a clue as to what you should be looking at.

Message 17 of 19
(1,757 Views)

For a more obvious hint, your multiply should be an add.  But Ravens does have a point.  There's no way the code you showed should give you the array you showed.  First of all, the first row should be all 0s (first iteration, i=0, A*0=0).  There is likely something hidden.  Maybe a diagram cleanup is in order.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 18 of 19
(1,741 Views)

I think I got the solution 🙂

 

Below is my VI

0 Kudos
Message 19 of 19
(1,728 Views)