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.
02-02-2017 12:44 PM
When I add a label text (for comment) to a type def control and move the label text around, LabVIEW 2016 (32bit) crashes.
Just wonder if it happens only with my LabVIEW installation or it is a bug in LabVIEW 2016.
Thanks.
Ian
Solved! Go to Solution.
02-02-2017 01:59 PM
If you attach the actual TypeDef (.ctl extension) instead of a picture of it, we could test it on our LabVIEW 2016 systems and either (a) verify that, yes, there's something about your code that gives LabVIEW problems (i.e. a "bug"), or (b) "it works for us", suggesting that there is something amiss with your installation. I'm pretty sure that you'd quickly get a number of independent tests, but we need the Actual TypeDef!
Bob Schor
02-02-2017 02:30 PM
Bob
The Type Def Control is attached.
Thanks.
Ian
02-02-2017 08:36 PM
Thanks.
I'm running on a 64-bit Windows 10 system, with 32-bit LabVIEW 2016 (SP1) installed. I opened your Control, tested the Cluster by setting the AutoSize option to Vertical (that worked), changed the (mis)spelling of "Label", and tried moving it all around the VI. No problems at all!
I do not think that you've found a bug/flaw/problem in LabVIEW 2016 (at least as distributed to me). You might have a bad download, a problem somewhere on the PC you are using, or maybe it really is spelling "Label" as "Lable" (I really doubt this), but as far as I can tell, your code is perfectly valid and robust.
I'm attaching my (minimally) modified version of your Control. If it crashes again for you, I'd say you almost certainly have a problem on your PC.
Bob Schor
02-03-2017 10:40 AM
Bob
Thanks for your reply. Interestingly, your "Control 1.ctl" works, I can move "Test Label" around without any issue . I can even change "Test Label" to "Test Lable", it still works:). But if I add a new text and moves it, LabVIEW crashes.
Since everything works on your computer, it must something with my LabVIEW installation. I will try to repair my LabVIEW.
Thanks again for your help.
Ian
02-03-2017 04:59 PM
Weird. I hope someone else tests this, as well, as I don't want to be liable for a bad "lable" label. (sorry, couldn't resist ...)
BS
02-03-2017 08:01 PM
Bob
Just to add some more info. On my computer, LabVIEW 2016 crashes only if the text label has the "Enable Hyperlinks" item checked in its right-click pull-down menu. If it is uncheck, no crashes.
Have a nice weekend.
Ian