LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ASCII to decimal

i would like to ask,
how to change ASCII data into the decimal number by using LABVIEW?

as i receive the data from the external device , using the serial read
and they are strange code.
(I have set the baud rate compatible.)

thanks if you can help me!
0 Kudos
Message 1 of 6
(3,189 Views)
Is this more of the problem you were having with your back reflectance meter (RM3750, if I recall)? If the meter is set to the correct baud rate, etc, and you aren't seeing an ASCII string coming back that looks like a readable number, it might be that your meter is set to return the readings as binary values--not ASCII. Can you post a string that you are getting back along with what you think the data value is that it should be reading? This might help troubleshoot the problem.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(3,189 Views)
oh...so surprise you can remember me~
yes.....and very happy that, i can get the data in the correct format~

As the timing of the loop is not correct b4(i dont know why
infact..just by trial and error, i set a particular time of the loop
and i get waht i want)

thanks very much ~~
0 Kudos
Message 3 of 6
(3,189 Views)
Have you figured out your problem? If not, post an example of the data you are getting back from your box along with a guess as to what should be in the data and I'll see if I can help you sort it out...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(3,189 Views)
yes....i solved that now, thanks for yr kindly help~~
i am still working on the progamme and it's still a long way to reach what i want.
really a hardwork!!haha..but i will still trying hard to do that..
anyway....
thanks very much!!!
🙂
0 Kudos
Message 5 of 6
(3,189 Views)
feel free to contact me anytime...

Mike Porter
mlportersr@webtv.net

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(3,189 Views)