Jump to content

Property loader and string problem


Clio75

Recommended Posts

I'm using the property loader to store the position of UUT and instruments com ports.

And most of this is working OK.

One thing I found strange is that when I load a value "07" (zero seven) as a string this will end up as "7" in Teststand.

this is I have tried 07 or "07" with the same result. :throwpc:

Is there something I have overlooked :book: in the Teststand ??

or is there something else I can try If not I have to look at checking the value in a statement. :angry:

Thanx

Link to comment

Hmmm

Today it worked.

So the solutions is to have the " " on. Without the " " the 0 will not be taken in the string.

WHY ??????? :frusty:

OK then I wasted at least 2 hour yesterday on this :frusty::angry:

But there is an other problem with strings that contain a 0 as the first char.

When propagate them this 0 is gone. :frusty: (soon my head hurts)

is there any way I can avoid this ??

Please advice

Edited by Clio75
Link to comment

Hmm

I'm talking to my self in this topic. :rolleyes:

But for some reason it just starting to work. WHY :throwpc:

I have done nothing but added some watches. first to see that it was wrong, and after to see that it was correct.

If someone knows please leave a remark. :frusty:

  • Like 1
Link to comment

Hello,

When I started this testing seq it was removing the "0" first in the string. with or without the " "

But Now I can't reproducer it. But if anyone have any idea on this leave a remark.

The number format as Hex may be helpfulm, I think. If it is a string, I'm sorry that I don't know why.

I try to handle this as a ASCII string, not binary or hex. But maybe Teststand do :unsure:

Thanx

String.zip

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.