LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

From two Nods, selects the value in the table and give output.

Hi..
I am still a very new user -LabVIEW 8.2 -and I need some help...
 
First I need to build 4 X 7 table.
The first nod is connected to Row and the second Nod is connected to the Column.
 
The 1st nod is from 1 to 4 and the 2nd nod is from 0 to 7.
       0     1     2      3     4    5    6     7   
1
2
3
4                                        11.8
 
If the user selects two nod, for example, 1st nod as 4 and 2nd nod as 5, then the result would give 11.8
 
How can I make this?
 
Please give me some help with an example....
0 Kudos
Message 1 of 5
(2,750 Views)
Hello BC Does "Index Array" do the job? I assume that your data are a 4x7 matrix or array. so pick "index array" from the array function palette, wire it to the 4x7-array and add constants (e.g. 2 and 5) or controls to the indexing terminals. It seems a little too simple to make my answer make sense, so if there's more to it, please tell me more. Michael
0 Kudos
Message 2 of 5
(2,729 Views)

What I am trying to do is First, I have 2 nods to turn.

First nod (current) is from 1 to 4

Second nod(selection) is from 0 to 7

and I have table values for each match..

current 1 and select 0 ..... = 22

current 1 and select 1 ..... = 23

.

.

current 4 and select 7 ..... = 80

This means I have 32 datas as decimal numbers..

So when the user selects the nod 1 as 1 and nod 2 as 6, it gives the corresponding value out....



Message Edited by Black Comb on 11-13-2007 07:40 AM
0 Kudos
Message 3 of 5
(2,722 Views)
You want to use Array index, as the other response suggested, and his simple example shows the basics on how to do it.

The 2D array will be your list of numbers in tabel format and you specify the row and column by your nods.

You should also continue your original thread you posted here.


Message Edited by Matthew Kelton on 11-13-2007 07:44 AM
0 Kudos
Message 4 of 5
(2,719 Views)
Thanks guys....
 
I fianlly found out....
0 Kudos
Message 5 of 5
(2,708 Views)