LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible Bug or just weirdness in Build Text Express VI

I've just run across a possible bug in the Build Text Express VI.

Drop the VI and at first configure an input to accept a numeric by selecting Number under the Variables Properties section, and check the �Use Specified Precision� checkbox and set the precision to 4. Then create a variable named %Header% and hit OK.

Now you realize your Header variable should have been a String instead of a numeric. Double click the Express VI to open the properties and just change from Number to Text in the Variables Properties. Notice the �Use Specified Precision� checkbox is now disabled and grayed so you cannot deselect it or change the precision. Click OK, and now any string you try to pass through the �Header� input wil
l only output the first 4 characters.

The only way to get it to the proper operation is to change it back to a Number so you deselect the �Use Specified Precision� checkbox, and then change it back to �Text�.

Seems the �Use Specified Precision� checkbox should deselect itself when �Text� is selected since LabVIEW doesn�t let you use the �Use Specified Precision� checkbox for Strings.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 1 of 4
(2,715 Views)
Hi Ed

This is a known bug which should be fixed in LV 7.1. Your workaround is the right one: At the moment you've to go back to the number format and uncheck the checkbox from the Use specified precision setting. Then go back to the text format.

Regards,
Luca
Regards,
Luca
Message 2 of 4
(2,715 Views)
Thanks Luca,

I searched for about an hour last night before posting trying to see if this had already been reported, but couldn't find anything.

Is there a list of known bugs we can browse?

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 3 of 4
(2,715 Views)
Hi Ed,

I'm sorry for the time you spent to find a solution for this issue on the web. There is no list of known bugs which is available for customers. We're trying to create KB's entries for most issues we discover, but it's difficult to create one for every issue. That's one of the reasons why NI employees are hanging around here! 😉

Regards,
Luca
Regards,
Luca
0 Kudos
Message 4 of 4
(2,715 Views)