05-31-2006 06:10 AM
06-01-2006 10:54 AM - edited 06-01-2006 10:54 AM
Message Edited by Jarrod S. on 06-01-2006 10:54 AM
06-06-2006 05:24 AM
Hi,
Please see if this example that I had in NI Community fits you.
Auto-Scroll to show last row of data
Regards,
06-06-2006 11:40 AM
07-03-2015 04:12 PM
@Udo,
Of course, there is always a way or two or three with LabVIEW.
In my recent test supervisor, I wanted the same exact thing that when the last row of the table is reached, I wanted to programmatically scroll the rows by two rows - to leave a visible empty row at the bottom that shows the operator that the bottom visible row is indeed the last test.
Here is my solution that worked for me:
Here I have two strict reference of the data table (or you can create a normal property node from the control). The first reports the number of visible rows. This is then compared to the current rows of the array feeding the table. If the data array size equals or exceeds the visible rows of the table, I then increase the table's row index by 2. This leaves a blank row at the bottom of the control. If that doesn't suit you, you can increase the scroll as many rows as you wish but at least 1.
This is the simplest I can imagine of autonomically scrolling a table. 😉
Enjoy,
Aldrin