02-21-2023 01:28 PM
the task: to read data from a tab-delimited text file
the problem: it shows strange output (it should show double numbers but instead it shows only integers)
solutions that I have tried :
1- I tried two methods to read the data (read from a text file and read delimited spreadsheet), and I got the same results.
2- I tried to change the format [%.3f] (in case of read delimited spreadsheet) to different things but it was worse.
I think the problem is in my laptop configuration or the LabVIEW configuration! because I tried the same data on my friend's laptop and it worked well (it shows a usual ECG signal).
Solved! Go to Solution.
02-21-2023 02:02 PM
02-21-2023 02:35 PM
yeap , it worked 🙂 , thanks for your fast reply and precious help
but can you explain how can i avoid this in future , from where can find this format (%,;%f) , cuz i looked up in the help for [Read Delimited spreadsheet ] and found nothing helpful (just%d for integers and %s for strings)
and another question : why the same text file worked normally on my friend's laptop without changing the format !?
thanks in advance
02-21-2023 02:50 PM
Hi Chad,
@Adham_m wrote:
but can you explain how can i avoid this in future , from where can find this format (%,;%f) , cuz i looked up in the help for [Read Delimited spreadsheet ] and found nothing helpful (just%d for integers and %s for strings)
When you read the paragraph on the format string input then you will notice a link to "format string syntax". Follow the link and read…
@Adham_m wrote:
and another question : why the same text file worked normally on my friend's laptop without changing the format !?
Because those functions respect your local regional settings. Your friend seems to use German settings (comma in numbers), while you use English dot decimal separator…
02-21-2023 02:59 PM
Totally right !
Thanks Again 🙂