LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convertion of the string

I'm new user of Labview.

 

The attached picture shown the string that i get from the PIC. So how can i convert the input string to the expected format?Between, it is any problem of

the write to measurement file?

 

Thanks.

Download All
0 Kudos
Message 1 of 4
(2,509 Views)

The read string:

 

AN000293

 

AN is a initial character and  00 means sensor number (in case i need to use 12 temp sensors) and the final four digit is the value of the temperature (degree celsius).

 

Need help!!!

0 Kudos
Message 2 of 4
(2,495 Views)

Have a look at the string subset block.

0 Kudos
Message 3 of 4
(2,480 Views)

use scan from string with format AN%2d%4d => this will split the string up in 2 parts => sensor and value.

 

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 4 of 4
(2,466 Views)