10-07-2015 05:23 AM
Hello Everybody,
I have an DAQ wich measured 4 values on 4 Channels.
However, the resulting string is converted into an array (ASCII) - via Match Pattern.
Til now, everything is fine.
After that in converted the array (ASCII) into an array (numeric) - via Scan from String.
The problem is that i lost the decimal places in the numeric array. (as in the pictures)
Could anybody help how i get the decimel places into my numeric array?
(the programe is in the attachement)
Cheers,
Marcs
Solved! Go to Solution.
10-07-2015 05:39 AM - edited 10-07-2015 05:41 AM
Hi Marc,
The problem is that i lost the decimal places in the numeric array. (as in the pictures)
Could anybody help how i get the decimel places into my numeric array?
The problem is the decimal separator you are using in your (German?) Windows regional settings!
Either switch your PC to use English settings (as I recommend my users) or use a better format string to convert from string to numeric - LabVIEW help lists all of them and explains them!
The 3rd option is to switch LabVIEW behaviour in the LabVIEW settings - but that might produce errors once you create EXEs or move VIs to a different computer…
10-07-2015 06:19 AM
Yes indeed. Thank you very much.