03-26-2014 07:24 AM
Thank you very much for your answer.
I have one sensor named hagisonic Stargazer And I want to read the output string.
And that string has ~^| 123 |-22.22|+223.|1234
I want to read the value after | sign.
Greetings,
Ankit.
03-26-2014 07:29 AM
03-26-2014 07:41 AM
I guess he wants to get all numbers and their signs (-/+) and removing all other symbols (~ , ^ , | etc etc)
regards,
yan
03-26-2014 07:43 AM
03-26-2014 07:45 AM
AnkitRamani wrote:I want to read the value after | sign.
Search/Split String will be your friend here.
03-26-2014 08:22 AM - edited 03-26-2014 08:22 AM
Perhaps a program to read and split different input strings, which is changing everytime.
regards,
Yan.
03-26-2014 08:34 AM - edited 03-26-2014 08:39 AM
Thank you very much for your reply.
I am getting the result form previous suggesting, but the thing is that I don't want to get the symbol in first reading that are
'' ~^ '', and if possible then I want to read the value not in Array form only but I want to read that in element form i.e.. Array to elements.
Here in attachment I have attached the example vi for same thing which I am doing.
But I think may be i will solve this problem by your suggesions.
Thank you verymuch for your help again.
Greetings,
Ankit.
03-26-2014 09:08 AM
@AnkitRamani wrote:
I am getting the result form previous suggesting, but the thing is that I don't want to get the symbol in first reading that are'' ~^ '', and if possible then I want to read the value not in Array form only but I want to read that in element form i.e.. Array to elements.
Sounds like my Scan From String method is what you really want then.
03-27-2014 10:51 AM