01-29-2006 02:55 PM
01-29-2006 07:53 PM
Hi deviousKA,
Re: "custom define the index 'scales'" - if you mean (as it sounds) setting some Table property (via a property node?) to obtain some alternate coordinate-mappings... I don't think this is possible - however, your search for a "quality"-"plot"-solution is very reasonable.
You might create a sub-vi for updating the table, passing it a table-reference, a string, and an (X',Y') pair. "Feed" the sub-VI your non-linear (X',Y') coordinates, it can update the table via the table-reference, its "footprint" on the main diagram is small, and any ugly code (mapping X'Y' to XY) only appears (once) in the sub-VI.
Cheers!
01-29-2006 08:18 PM - edited 01-29-2006 08:18 PM
"For example, the top left cell of the table, the coordinates are 0, 0. Is it possible to modify the coordinates so this cell could become 1, 2? (or any other set of value?) "
It sounds like you are after "IndexVals" see below.
Ben
Message Edited by Ben on 01-29-2006 08:19 PM
01-29-2006 09:44 PM
Hi Ben,
I think an example of what devious wants would be to write to the first three values in, say, the second column, using (X,Y) coordinates of (2,2), (2,4), (2,6) (these coordinates get "mapped" to absolute cells (1,0), (1,1), (1,2).)
01-29-2006 10:00 PM
Thank you both for the replies,
With the subvi reference method, would this effect my table interpolation? It doesnt seem that it would, but I am going to need some more reading before I set that up
Ben, I would like to test what you have posted, but I am a little unclear on that cluster setup you have there. Would it be possible to post the VI?
If I could just determine the range for scales that would be easy, but they are not linear. From what I gather, I can reassign the top left cell, and I can determine a maximum of the range. It seems this does not offer what I need and I might have to use something like a sub vi reference, as previously mentioned.
01-29-2006 10:08 PM
Dynamik, that is precisely what I am after.
The actual range of the coordinates that I will be using are 2-100 for the X axis and something like 600-6000 for the Y axis.
Where as the top left cell coordinates would be 2, 600 and the lower right cell 100, 6000. The "scale" or the range in between the minimum and maximum values has a slightly changing slope (non linear). The scales are broken up into 16 values between the minimum and maximum, these are the values I would like as coordinates.
Im fairly sure I can handle scale coordinates like this with something like an XY graph, but I would really like to use a table format.