Jump to content

Scan Variant from string looses spaces when converting strings?


Recommended Posts

Hello everybody,

I noticed a strange behaviour of the "scan variant from string" openg function, in particular it seems that when the input is a variant associated to a string the "decoded string is truncated after the firs blank space.

Attached you can find a simple vi that illustrate this strange behaviour.

Could it be due to a bug in the openg "scan variant from string"? Or am I missing something?

Do you think it is something easy to fix?

post-27819-0-10200000-1348144614_thumb.p

Example.vi

Edited by alleBarbieri
Link to comment

Having a closer look at the "scan varian from string" I noticed that the strings atre threated as in the picture attached. I think a possible solution to solve my problem is to remove the "scan from string" and put the Input string directly to the variant output.

But I am sure the generality of the vi in this case would be compromised.

post-27819-0-17242900-1348145638_thumb.p

  • Like 1
Link to comment

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.