LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 6.1 -> LV8 table conversion issue

I have a program where I load a table with data from a file. Since the user of the program only has access to a touchscreen, I had allowed him to scroll down through the table using the code below. (I've only copied the part of the code that deals with changing the position of the table, there doesn't seem to be anything malfunctioning elsewhere in the code.)
 
I had to convert to LV8, and found that my code no longer causes the table to actually scroll, it only keeps moving the active cell downwards without shifting the view of the table with it. Does anyone have any ideas what it is I need to do to get the old functionality back? I'd prefer not to change too much of the code since it is all fairly mature.
0 Kudos
Message 1 of 3
(2,559 Views)
Hi Sirin,
 
You bring up an interesting observation. It appears as though the change was indeed with the Active Cell property. Previous to LV 8.0, setting this propery would visibly change the table on the front panel. This appears to no longer be true in 8.0 or 8.0.1. A simple workaround would be to set the key focus property to true after you change the Edit Pos and Active Cell properties. I have attached a simple example that demonstrates this idea.
 
I can find no mention of this change in the documentation for LabVIEW. However, I have reported it to R&D (# 3YIESTSQ) for further investigation. Thank you for bringing this up!
Charlie S.

Visit ni.com/gettingstarted for step-by-step help in setting up your system
0 Kudos
Message 2 of 3
(2,527 Views)
Thanks very much for your answer; I also found a workaround in another thread I commented on where you can manipulate the 'index vals' property to get kind of the same effect.
0 Kudos
Message 3 of 3
(2,524 Views)