ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

converting characters to numbers

VISA Read reads the data in ASCII format and outputs them as characters. I however would like to have them in DBL formart. How do I convert?
0 Kudos
Message 1 of 4
(2,790 Views)
try using the scan from string.vi (Functions --> String)

good luck

Dan
Message 2 of 4
(2,790 Views)
Hello,

Thank you for contacting National Instruments.

You may also be interested in the Decimal String to Number function located on the All Functions >> String >> String/Number Conversion palette. Either solution will work fine.

Best Regards,

Matthew C
Applications Engineer
National Instruments
0 Kudos
Message 3 of 4
(2,790 Views)
thanks!
Have a great weekend!
Ivanka
0 Kudos
Message 4 of 4
(2,790 Views)