03-27-2019 11:36 AM
Hi guys,
I'm getting an input of data into labVIEW via serial communication (VISA VI), the data coming into labVIEW is in the form of a string, I'm unable to to convert this string to a decimal using the provided VI, but am having no luck. How would I go about this?
I'm a first year electronic engineering student working on my first year project, and require the use of serial communication to get my data from an external device into labVIEW.
- Cheers
Solved! Go to Solution.
03-27-2019 11:46 AM
Your format string is wrong- "f" isn't a valid format. Press Ctrl-H and hover over the function and you can see the "quick help" and the "full help" for the function where you can look up format specifier syntax. You want "%f"- all valid formats begin with the % character.
03-28-2019 12:23 AM
On your 'Scan Value' function, use '%f' instead of 'f'. That should work.
03-28-2019 02:38 AM
04-25-2019 02:51 AM