time format
mwpro
String columnInfoStr = ""
columnInfoStr += "C=1,F=6,T=4,N=DateLC;"
columnInfoStr += "C=1,F=7,T=4,N=TimeLC;"
columnInfoStr += "C=1,F=0,T=4,N=CO2;"
LoadWave/Q/A/D/J/O/W/L={1,2,0,0,0}/B= columninfostr
columnInfoStr += "C=1,F=6,T=4,N=DateLC;"
columnInfoStr += "C=1,F=7,T=4,N=TimeLC;"
columnInfoStr += "C=1,F=0,T=4,N=CO2;"
LoadWave/Q/A/D/J/O/W/L={1,2,0,0,0}/B= columninfostr
but the DateLiCor only shows 2017 for the entire wave. I had the same issue with or without specifying B. I also wonder what should be used for numeric values, help file says 0-5, what does each mean?
May I also ask how do I introduce a path for loadwave function? Right now I wait for the window asking for the file location after executing the command.
Many thanks!!
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
September 6, 2017 at 01:11 pm - Permalink
columnInfoStr += "C=1,F=-1,T=4,N=DateLiCor;"
columnInfoStr += "C=1,F=7,T=4,N=TimeLiCor;"
columnInfoStr += "C=1,F=1,T=4,N=CO2_ppm;"
columnInfoStr += "C=1,F=0,T=4,N=H2O_ppt;"
columnInfoStr += "C=1,F=0,T=4,N=H2O_C;"
columnInfoStr += "C=1,F=0,T=4,N=Cell_Temperature_C;"
columnInfoStr += "C=1,F=0,T=4,N=Cell_Pressure_kPa;"
LoadWave/Q/A/D/J/O/W/L={1,2,0,0,0}/B= columninfostr
Thanks!
September 6, 2017 at 02:34 pm - Permalink
String columnInfoStr = ""
// columnInfoStr += "C=1,F=-1,T=4,N=DateLiCor;"
columnInfoStr += "C=1,F=6,T=4,N=DateLiCor;"
columnInfoStr += "C=1,F=7,T=4,N=TimeLiCor;"
columnInfoStr += "C=1,F=1,T=4,N=CO2_ppm;"
columnInfoStr += "C=1,F=0,T=4,N=H2O_ppt;"
columnInfoStr += "C=1,F=0,T=4,N=H2O_C;"
columnInfoStr += "C=1,F=0,T=4,N=Cell_Temperature_C;"
columnInfoStr += "C=1,F=0,T=4,N=Cell_Pressure_kPa;"
// LoadWave/A/D/J/O/W/L={1,2,0,0,0}/B= columninfostr
LoadWave/A/D/J/O/W/L={1,2,0,0,0}/R={English, 2, 2, 2, 1, "Year-Month-DayOfMonth", 40}/B= columninfostr
EndMacro
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
September 6, 2017 at 04:39 pm - Permalink
Any of those values produces the same result. Those are just the numbers between -2 and 10 that aren't used for other purposes. Use F=0.
Use /P=path
And also specify the name of the file as the last (string) parameter. Obviously you must supply/know this name to do this.
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
September 6, 2017 at 04:50 pm - Permalink
September 7, 2017 at 03:30 pm - Permalink
It does, and you're welcome!
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
September 7, 2017 at 04:08 pm - Permalink