03-27-2013 09:45 PM
I am getting read values as string in following format
\s\s\s\s\s\s\s\s\s0
\s\s\s\s\s\s1000
\s\s\s\s\s75000
-\s\s\s\s\s1000
how can i format them to numeric and show them in numeric indicator(I32) like
0
1000
75000
-1000
etc
Read characters are always 10 in number and i want them to display as signed numeric
Thanks and regards
Solved! Go to Solution.
03-27-2013 11:19 PM
HI
Check the attached VI.
I hope this helps.
03-27-2013 11:24 PM
Hi rajxabc
please check whether this meets your requirement.
03-27-2013 11:28 PM - edited 03-27-2013 11:38 PM
@LV_user1 wrote:
HI
Check the attached VI.
I hope this helps.
woahhhh way too confusing 😉 Try this. If they are in one string, you will have to use my method. If those are each separate strings in your example Gogineni's solution works. But, you can change the numeric type to an I32, keep the %f, and then there is no need for the coerce to I32
03-27-2013 11:47 PM
Thank You Gogineni, it works perfect.
Thanks
03-27-2013 11:53 PM - edited 03-27-2013 11:55 PM
Hi rajxabc,
All the best