Jump to content

Bug in Variant Coercion


Recommended Posts

Posted

Yes, I see the bug too, but I've got to admit that you confused me even futher by swapping the indicators on the FP (double click on your terminals on the BD to see what I mean). I note that if the representation of the numerics in the arrays are different then the bug goes away.

Posted

Yes, I see the bug too, but I've got to admit that you confused me even futher by swapping the indicators on the FP (double click on your terminals on the BD to see what I mean). I note that if the representation of the numerics in the arrays are different then the bug goes away.

Thanks for the confirmation - crelf! I'll pass on the UI recommendation to the guy who made the UI wink.gif

Posted

Funny, if you add an AlwaysCopy node on the notWorkingTest1 wire the DataType.Label becomes 'notWorkingTest2'

BTW I get the same thing in 2011-64bit

Cheers,

Mike

Posted

In LabVIEW 2009, I found that the wire that is coerced first's data name is written to all the indicators. I was able to reproduce the 2010 behavior in 2009:

post-16870-0-45999900-1304700727_thumb.j

Posted
In LabVIEW 2009, I found that the wire that is coerced first's data name is written to all the indicators.

Hmmm - good catch. Looks like a coercion bug?

  • 3 weeks later...
Posted

Fortunately using the convert to variant function removes the possibility for the bug to happen.

Posted

Fortunately using the convert to variant function removes the possibility for the bug to happen.

True, this is a valid workaround, thanks TG! (see snippet) This is a known issue, CAR 279047.

post-17237-0-61759200-1306340910_thumb.p

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.