Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

CardConvert command line: specify file?


TimothyWHilton Oct 7, 2011 10:53 AM

Hello,

Does anyone know if it is possible to tell CardConvert, in the ccf file or from the command line, to only convert one file within a directory? My field sensors report two different files: one reports at thirty-minute intervals, the other at 10 hz. I wish to convert the 30-minute file to TOA5 format and the 10 hz file to TOB1. It seems that CardConvert tries to apply a ccf file to all files in the directory.

The ccf file I am using is below.

Also, does CardConvert support command line options other than 'runfile='? If so, are these options documented anywhere?

Many thanks! Tim

--

Timothy W. Hilton
Postdoctoral Fellow, Department of Biology
University of New Mexico
hilton@<the letter u>nm.edu


=========================
[main]
SourceDir=C:\Research - Flux Towers\Flux Tower Data by Site\PJ_girdle\Raw data from cards\Raw Data 2011\PJ_girdle_09-17-11\
TargetDir=C:\Research - Flux Towers\Flux Tower Data by Site\PJ_girdle\toa5\
Format=0
FileMarks=0
RemoveMarks=0
RecNums=0
Timestamps=1
CreateNew=0
DateTimeNames=1
ColWidth=463
ListHeight=169
ListWidth=190
BaleCheck=0
CSVOptions=6619599
BaleStart=38718
BaleInterval=32875
DOY=0
Append=0
ConvertNew=0


Dana Oct 7, 2011 11:23 AM

Take a look in the current LoggerNet manual at section B.4.5 regarding TOB32.exe. This may work for what you are trying to do.

Regards,

Dana W.


TimothyWHilton Oct 7, 2011 03:23 PM

Thanks, Dana. This could be really helpful. Is there, by any chance, a method to specify the output file name in addition to the path?

Thanks!
Tim


Dana Oct 10, 2011 11:34 AM

It doesn't look like it. If I find out differently, I will post.

Dana W.


AshimG Apr 22, 2021 04:41 AM

Hi, 

I am looking to automate the conversion process using CardConvert a binary file into ascii TOA5 format. I tried the command as follows:

"C:\Program Files (x86)\Campbellsci\CardConvert\CardConvert.exe" runfile="C:\Campbellsci\CardConvert\lastrun.ccf"

However, it asks initially, that the number of files to be converted is large and it will take time. I have to say yes everytime. Is there a way to automate such that this initial question is not being asked?

Regards
Ashim

Log in or register to post/reply in the forum.