08-20-2019 12:49 PM
Good afternoon,
I'm having problems in loading data from a .txt file and postprocess them ( those data are acquired with a DAQ).
Basically in my Labview routine I acquire data and save them in a file with the function "write to delimited spreadsheet" (in column).
I'd like to load the data back on a new VI and do some post processing analysis with that.
Is there an easy way to do it? Thanks.
Marco
08-20-2019 01:00 PM - edited 08-20-2019 01:01 PM
08-20-2019 02:18 PM
Hi,
I already tried that, but it does not work.
08-20-2019 03:02 PM
@Marco000 wrote:
Hi,
I already tried that, but it does not work.
Could you be a bit more specific?
08-20-2019 03:58 PM
When I use the function 'read from delimited spreadsheet' and run it to plot the waveform I previously acquired, Labview crashes.
The .txt file I'm trying to upload is about 6 MB, maybe is that.
Hope I was more specific.
Thanks,
Marco
08-20-2019 04:04 PM
What are the dimensions of your spreadsheet? Can you attach it here?
08-20-2019 04:12 PM
Hi,
yes, attached a screenshot of the file.
I tried to upload both a file with 3 column and with 1, but it did not work anyway.
Can't upload the whole file because it is more than 5 MB.
08-20-2019 04:18 PM
So, the file has 3 columns, but how many rows?
08-21-2019 02:56 AM - edited 08-21-2019 02:58 AM
Hi Marco,
Can't upload the whole file because it is more than 5 MB.
Ever heard of ZIP?
Also place your VI you are using to read that CSV file into the same ZIP file…
(What's the sample rate used for DAQ?)
When I use the function 'read from delimited spreadsheet' and run it to plot the waveform I previously acquired, Labview crashes.
Is there an error message? Or does LabVIEW just vanish from desktop?
08-21-2019 04:26 AM
Hello Marco
so use this attached VI and try to read the created delimited string with your solution. What happens?