Hi everyone,
Its a special text file as it is a cross between a ini file and csv file. I have generated this txt file from a vibration analyser that I made and the format is as follows:
[Parameters]
SampleFreq=5
NoSamples=256
[Inputs]
Ip1=1
Ip2=0
[Data]
1.23,2.11,4.56,5.4,3.1, etc
Ok. I have written some code to read from an INI file that reads the parameters and inputs data. But what I now need is some code that would read in the data fields (csv format) into an array. Does anyone have any suggestions on how I might go about doing this.
Thanks
Fozzie
Its a special text file as it is a cross between a ini file and csv file. I have generated this txt file from a vibration analyser that I made and the format is as follows:
[Parameters]
SampleFreq=5
NoSamples=256
[Inputs]
Ip1=1
Ip2=0
[Data]
1.23,2.11,4.56,5.4,3.1, etc
Ok. I have written some code to read from an INI file that reads the parameters and inputs data. But what I now need is some code that would read in the data fields (csv format) into an array. Does anyone have any suggestions on how I might go about doing this.
Thanks
Fozzie