From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-02-2021 11:35 AM
Dear all!
I have just noticed that dragging a typedef'ed element across a string element resets the font for the string element, which cannot be reverted.
Steps to reproduce (LabVIEW 16, 32 bit):
I don't want this to happen. Is there some configuration that I set erroneusly?
Solved! Go to Solution.
03-02-2021 11:44 AM
Interesting. I just tried that out in LabVIEW 2020 and it did the same thing. Seems like a bug.
I don't think I've read that one before. Kind of surprised someone hadn't seen it before now.
03-02-2021 01:02 PM
It probably relates to the fact that, by default, LV 2016 and newer have "live update" which tries to update everything in real time as you drag stuff around. I wonder if that will still happen if you disable that option? I forget what that option actually is.
03-03-2021 01:14 AM
@billko wrote:
It probably relates to the fact that, by default, LV 2016 and newer have "live update" which tries to update everything in real time as you drag stuff around.
That would seem to make sense, as this doesn't happen in 2015.
It looks like the typedef bit is relevant because when it's a typedef, dragging it adds the name of the typedef to the string, like it does with VIs.
In 2015, the format isn't reset immediately when dropping in the string. The name of the typedef is in the default format. The rest of the string keeps its format, but if I undo something, it also returns to the default format.
03-03-2021 03:27 AM
I have tried pressing "x" while dragging, as per https://forums.ni.com/t5/LabVIEW/Labview-2016-new-improvments-to-selecting-moving-and-resizing/m-p/3...
This prevents the font change. I also tried the "LiveDrag=False" setting and that solved it too.
Thank You!
03-03-2021 07:20 AM - edited 03-03-2021 07:21 AM
If I may add: Disabling Live Drag greatly improved the performance and user experience when using the block diagram editor. I wish I would have tried this sooner.