ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String constants resized - Bug

I have an issue with one specific VI, it I open that with LabVIEW 2009 SP 1, a lot of the string constants get resized until only the first character is visible:

StringConstant BUG.png

I am not sure why it happens with this specific VI, but I can tell it's quite annoying to debug this kind of code.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 1 of 19
(5,865 Views)

Is this Winodows Vista or Windows 7 ?

 

I have seen bad font mangling happening on my Windows 7 machine.

 

I ask because the size of the "path property" node looks like what I have seen on Windows 7.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 19
(5,862 Views)
I have encountered this very annoying behavior when opening LV8.x VIs with LV2009 on WXP.
Message 3 of 19
(5,858 Views)

Windows 7, but to clarify, the font is not mangled. It looks like their is a 'Resize to text', witht the text length set to '1'.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 19
(5,821 Views)

TCPlomp a écrit:

Windows 7, but to clarify, the font is not mangled. It looks like their is a 'Resize to text', witht the text length set to '1'.

 

Ton


 

Yes, this is exactly what I have encountered with WXP. A "Size to text" was needed to resize the constant in order to see the whole string again.

0 Kudos
Message 5 of 19
(5,801 Views)

Hi TCPlomp,

 

In order to file a correct CAR (Corrective Action Request) for this kind of bugs, we need to have a VI to reproduce this issue.

 

Can you please post your VI, so we can verify and reproduce the problem?

 

Thanks in advance!

 

Regards,

PeterS

0 Kudos
Message 6 of 19
(5,788 Views)

Peter,

 

could you contact me via email?

 

Thanks,

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 7 of 19
(5,772 Views)

I got a FPCPP error on lin 944 when using 'resize to text' and afterwards I could not start LabVIEW (have to try a reboot).

 

Initial Log in the Windows event log:

Naam van toepassing met fout: LabVIEW.exe, versie: 9.0.1.4011, tijdstempel: 0x4b47e0ad
Naam van module met fout: LabVIEW.exe, versie: 9.0.1.4011, tijdstempel: 0x4b47e0ad
Uitzonderingscode: 0xc0000005
Foutoffset: 0x0151332e
Id van proces met fout: 0x1940
Starttijd van toepassing met fout: 0x01cae969872ba726
Pad naar toepassing met fout: C:\Program Files\National Instruments\LabVIEW 2009\LabVIEW.exe
Pad naar module met fout: C:\Program Files\National Instruments\LabVIEW 2009\LabVIEW.exe
Rapport-id: 2ecaeea3-555d-11df-8f42-00235a05a8d2

 


Log of the crashe LabVIEW starts:

 

Naam van toepassing met fout: LabVIEW.exe, versie: 9.0.1.4011, tijdstempel: 0x4b47e0ad
Naam van module met fout: LabVIEW.exe, versie: 9.0.1.4011, tijdstempel: 0x4b47e0ad
Uitzonderingscode: 0xc0000005
Foutoffset: 0x0151332e
Id van proces met fout: 0xf40
Starttijd van toepassing met fout: 0x01cae969fa920d98
Pad naar toepassing met fout: C:\Program Files\National Instruments\LabVIEW 2009\LabVIEW.exe
Pad naar module met fout: C:\Program Files\National Instruments\LabVIEW 2009\LabVIEW.exe
Rapport-id: 4274f129-555d-11df-8f42-00235a05a8d2


 

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 8 of 19
(5,661 Views)

I've seen this occasionally too on LV 2009, win XP.

 

I don't use either the JKI state machine or the case selector plugin (which Ton suspected of elsewhere), so I doubt those are the cause for this.


___________________
Try to take over the world!
0 Kudos
Message 9 of 19
(5,634 Views)

And I have seen it with a numeric constant.

Instead of showing it's value 1000, it only showed 0.

 

I didn't even know it was possible to resize a numeric constant.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 10 of 19
(5,561 Views)