From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-25-2023 08:30 AM
I am concatenating the string because it acts as a terminal, like tera term or putty. And I force it to scroll as far to the bottom as possible. I don't see anything necessarily wrong with this solution, but I wonder if there's a more elegant way. Like... a right click setting change in the string indicator.
01-25-2023 08:40 AM
I'm going to comment that (per the detailed help) setting that property to a negative number will set the scroll position to the bottom. But other than that, that's what I do. But I hope someone else has a more elegant solution.
01-25-2023 08:42 AM
I will chime in and also admit that is how I code it up as well.
I did not know about the -1 trick. Thanks for the tip. 👍
01-25-2023 08:56 AM
I didn't know that about the (-1) trick either. Guess I should read the detailed help for all properties and not just some...
01-25-2023 09:04 AM
@billko wrote:
I'm going to comment that (per the detailed help) setting that property to a negative number will set the scroll position to the bottom. But other than that, that's what I do. But I hope someone else has a more elegant solution.
So I guess this actually gets into a debate of what is elegant. The input is an unsigned 32 bit. So sure, a -1 for a signed 32 bit gives you exactly what I have unsigned. So the question of elegance becomes - do we like coercion dots, or do we like big fat numbers?
01-25-2023 09:36 AM
@DailyDose wrote:
@billko wrote:
I'm going to comment that (per the detailed help) setting that property to a negative number will set the scroll position to the bottom. But other than that, that's what I do. But I hope someone else has a more elegant solution.
So I guess this actually gets into a debate of what is elegant. The input is an unsigned 32 bit. So sure, a -1 for a signed 32 bit gives you exactly what I have unsigned. So the question of elegance becomes - do we like coercion dots, or do we like big fat numbers?
Ha! Good point.