11-21-2012 04:52 PM
Ok.. I can't test my VI now, but i just implementet the "scan from string" box in my VI
11-21-2012 05:44 PM
You completely missed what I was trying to explain...
Let's see if I can rewrite what you did and show you an example of what I tried to explain...
11-21-2012 05:56 PM - edited 11-21-2012 05:56 PM
Here is a snippet of what I meant:
11-22-2012 06:58 PM
I have tried your solution, and thanks for the help, but the array doesnt show any decimal number in the measurement part ?. I want two decimal numbers, how to do that ?
11-22-2012 08:58 PM - edited 11-22-2012 09:00 PM
I'm not sure what you mean because it should work with decimals. See image below:
And it works even if there are no spaces:
+35.24g
will give
35.24
11-23-2012 01:51 AM
11-23-2012 07:01 AM
Hi Gerd,
Did I miss something? Why "%s%.;%f"?
Does the OP want to conserve the + sign and save it into the spreadsheet?
If so, then using the indicator to export to the spreadsheet file may not do what the OP wants.
I must be missing something... 😞
11-23-2012 07:15 AM
Hi Ray,
the OP said (s)he was missing "decimal numbers" (fractional part of the number). So I guess the computer the VI is running on is using a different decimal separator and thus included "%.;" in the format string to assure proper conversion of the value in the device string...
11-23-2012 07:21 AM
Ah... I didn't think of that one.
Thanks!
11-25-2012 09:58 AM
Thanks for the help guys. I wrote '%.;%f' in the format string box, and everything works fine now 🙂