LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan from String Bugs

Here are a couple Scan from String bugs I came across (see attached VI). I'm using LV 8.5.

 

Bug 1 (changing format string constant label changes output datatypes) was reported here: http://forums.ni.com/ni/board/message?board.id=170&message.id=240362&query.id=365112#M240362 but appears to still be a bug.

 

Bug 2 (not updating output format when an indicator of a different type is already connected) is not how I would expect LV to behave.

 

Neither of these bugs is life or death, but still.

 

0 Kudos
Message 1 of 2
(2,500 Views)

I agree # 1 looks like a bug (Still present in 8.6.1). I reported it in the bug thread.

 

I am not sure about #2. If an indicator is directly connected to the output, it makes sense to adapt to the actual datatype. Most likely, this is a compiler optimization. If you connect any primitive in-between (e.g. a [1/x]), the type no longer propagates back.

 

If you really want a specific datatype, you can always wire a default type to scan from string.

0 Kudos
Message 2 of 2
(2,486 Views)