THAT WAS INTERESTING................GUESS I NEED TO WATCH WHAT KEYS I'M HITTING.........SORRY FOR THAT!
Thanks for responding Altenbach,
Sorry for not being completely clear first time around but I was running between tasks.
Consider this: I need to send commands to a GPIB device one command sequence at a time.
EXAMPLE: 'A08E' is the 'string' command to be sent to the device, this may be followed by another command say 'A05E'
so let's say that I have a list of commands to choose from and I will be sending six sequential commands to set-up my device and
then reading my data. Then I will set-up for my next data read with another six (maybe different) commands.
My table may contain data like this (comma delimited):
Y0 Y1 Y2 Y3.............
X0 A07E, A08E, A47E, A50E,
X1 A07E, A05E, A01E, A51E,
X2 A08E, A47E, A50E, A51E,
In my mind, by incrementing my x index and y index, I should be able to go to that cell location right?
EXAMPLE: X1Y1 would give me 'A05E'....right?
I tried building a table to enter my commands into one cell per command. Then by indexing through the table, I would like to retrieve each command and send it to the device
one command at a time (for simplicity).
When I change the table index, to say row 1, column 1, I was expecting to get the command located within that cell only. But instead, what I am getting is everything from that cell
position and beyond.
What I get from X1Y1 is 'A05E,A01E,A51E,A08E,A47E,A50E, A51E'..........NOT what I was looking for.
I am sure that the function that I desire will work if I can increment the indexer from a pair of 'for loops' and capture only 1 cell of data to pass to my device in each instance.
I guess my limited time working with Labview is starting to show, but I have coded pretty extensively in other languages, so I think my approach is correct.
I don't have my example vi as I deleted it out of frustration. It wasn't working anyway!
I appreciate your time in trying to help. Thank you!
Phil