Page 1 of 1

plaindata2sdds

Posted: 26 Feb 2025, 09:59
by dhidas
This may or may not be a follow up to:
viewtopic.php?f=11&t=1400#p5906

We compile our own from source and up to and including 2023.3.0 plaindata2sdds works as expected. Starting in 2023.4.0 and including 2024.1.0 we see that some simple command like the following does not produce the simple sdds 2-column data but instead produces an sdds file with all zeros. I can switch back and forth between these versions easily to test them and they were all compiled with the same suite of compilers/libraries. Any help is appreciated as always.

plaindata2sdds W_rcs_Dec19_2024_2.txt wake.sdds -separator="\t" -noRowCount -col=time,double,units=s -col=Wz,double,units=V/C

SDDS1
&column name=time, units=s, type=double, &end
&column name=Wz, units=V/C, type=double, &end
&data mode=ascii, &end
! page number 1
0
! page number 2
0

Re: plaindata2sdds

Posted: 26 Feb 2025, 10:49
by soliday
I found and fixed the problem. You can get the updated source code at:
https://github.com/rtsoliday/SDDS/blob/ ... ata2sdds.c