LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File format of waveform to file function

Can someone tell me what the file format of the Save waveform to file function is? I can change the file ending as much as I want, but I still get strange content which looks like some kind of ascii but I can not decode in matlab.

 

Should be fairly simple but I can not find a single word about it...

0 Kudos
Message 1 of 5
(2,693 Views)

Hi KRICLA,

 

just look into the WriteWaveformsToFile function to find the "Write WDT Array Dlog File+" function.

Look inside this subVI to find an ordinary WriteDatalog function and read its help…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,669 Views)

Try using the Export Waveforms To Spreadsheet File instead.  That defaults to a tab delimited text file format.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(2,635 Views)

I'll have a look on the datalog function then and see if I can understand it.

 

I've also tried spreadsheet but it gave me a peculiar result with several title rows and lots of data missing. I was expecting columns with like 400 rows of sample data (10Hz for a couple of seconds). So that's why I'd like to give the other function a try as well.

 

I tried attaching the output file but the site doesn't allow it......

0 Kudos
Message 4 of 5
(2,624 Views)

Ok, my bad. I'd made a mistake in the assembling of my waveforms, that's why the spreadsheet export looked weird and data were missing. Maybe that's the way to go then, instead of datalogging

 

0 Kudos
Message 5 of 5
(2,619 Views)