LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

4X5 Array

I want to fill an 4X5 array with values equal to 10X the cell reference for example cell 3,4 will have the value 340 then display the data in a table
 
where am i going wrong, I know i am close
 
see attached vi
 
 
0 Kudos
Message 1 of 6
(2,971 Views)
All that you missed was multiplying by 10 in the inner loop. That would make the index there take the 10's position while the outer loop takes the 100's position. Yes, you were really close.

     Rob
0 Kudos
Message 2 of 6
(2,963 Views)
0 Kudos
Message 3 of 6
(2,960 Views)

Altenbach,

Thank you for all of your help

To finalize this I have made the following modifications

I saved this VI as a subVI.  I need to invert each input array cell value and display the result in a new array and table.  Any ideas??

 

0 Kudos
Message 4 of 6
(2,951 Views)
I am sure there is a more elegant way to do this, but it does get the job done.  (Unless I have missinterpreted what you mean by "invert")


Message Edited by jasonhill on 08-02-2006 08:27 AM

Download All
0 Kudos
Message 5 of 6
(2,929 Views)


@MBK wrote:
I need to invert each input array cell value and display the result in a new array and table.
There is no wat to know what you actually mean by "invert". One possible interpretation is shown in the image.

Message Edited by altenbach on 08-02-2006 07:00 AM

Message 6 of 6
(2,917 Views)