Jump to content
ThomasGutzler

Why does "Decimal string to number" break my vim?

Recommended Posts

Drop this vim on your block diagram and connect anything that isn't an I32 to the "Type" input and it'll break. Why?

snip.png

Share this post


Link to post
Share on other sites

Interesting. Looks like there's some type propagation issue when the Decimal String to Number node is combined with the Negate node:

Decimal-VIM.png.0e75f0cbc16094f06ae8221af72a7811.png

Remove the Negate node and the problem disappears.

The issue seems to exist in the LV 2020 beta too. Would you like to post in the beta forum, for the attention of NI R&D enginners? http://www.ni.com/support/beta-program/ (I'm happy to post on your behalf, if you prefer)

Edited by JKSH

Share this post


Link to post
Share on other sites

You could use the Type Specialization Structure and perform conversion, U8->I16, U16->I32, U32->I64 and U64->EXT before your String to Number conversion.

Edited by Jimmy Chretien

Share this post


Link to post
Share on other sites

I'm happy for my vim to break when a uint is wired in. Just didn't realise that's the problem.

Thanks for pointing that out Francois

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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.