02-12-2018 11:17 AM
Hallo,
I have created a Table ctl typedef with 60 rows for viewing some data. I am calling this typedef in another Vi and have used the CellBGColor property to grey out some cells marked with X. I checked with the highlight execution, and the greying is done only upto 39 rows, before it moves to the next column. Any ideas why this might be happening? Does the table.ctl have some sort of limit? Any help will be appreciated 🙂
Cheers,
mulayvus
Solved! Go to Solution.
02-12-2018 11:21 AM
I'm willing to bet that you are telling it to only set the BG color on rows up to 39. Code will "typically" only do what you tell it to do. Maybe your instructions aren't clear?
Can you post your code so we can help you?
02-13-2018 04:02 AM
Hi aputman,
actually should not be so as I am also telling it to count the rows... Anyways, you can find the logic in the attachment.
Cheers,
mulayvus
02-13-2018 04:13 AM - edited 02-13-2018 04:29 AM
02-13-2018 04:23 AM
Hi,
The property node that you are using outputs the number of rows/columns which are visible on the front panel.
Are you displaying all 60 rows at one time or do you using the scrollbar to move the rows?
Rhys
02-13-2018 05:25 AM
Hi,
I am using a scrollbar. So how does this work? I do not want to resize the table. I tried to run the VI with the second half of the table visible, but the counting begins with the first row.
Regards,
mulayvus
02-13-2018 05:30 AM
02-13-2018 06:53 AM
Hi,
since I had to grey out the cells only once, I resized the table, ran the program and resized it back again.. Worked! Thanx for all your inputs! 🙂
Cheers,
mulayvus