HI Anne
as one of the original authors of convbin2asc I should probably respond here.
The destination of the text file is easy to change.
And what do you mean by annotated text documents. first if all text file end up in the same folder they have to be individually named. Instead of just ascii-spec.txt it might be easiest to name them "name-expno-procno-ascii.txt that would make them reasonably unique.
What else would you like to find in the file?
The attached program will write into the users home.
You should adjust the bold text in this line for a different destination:
sprintf(outfile,"%s/Documents/asciifiles/%s-%d-%d-ascii.txt",PathSystemHome(),name,expno,procno);
The folders have to exist before you use it.
Clemens
On 2/17/2023 3:56 PM, AMMRL List wrote:
**EXTERNAL EMAIL**
Hello,
I am hopeful that someone here has identified or written a TopSpin AU to save a .txt file to a single unique folder rather than burying it in the pdata folder within the specific dataset. Specifically, I want to collect into a single folder the Text Documents created by the convbin2asc AU from a series of datasets. I was very pleased to discover the serial command to Process Dataset Lists, but I'd rather not have to navigate to and rename each of the files individually.
For reference, my programming knowledge extends to basic Python but nothing C specific. Annotated text documents would be most appreciated.
Thank you,
Anne Carroll
--
Anne M. Carroll, Ph.D. (she/her)
NMR/MS Instrumentation Specialist
Department of Chemistry and Biochemistry
Miami University
651 E High St,
76B Hughes Laboratories
Oxford, OH 45056
513-529-3163 Office
678-637-6739 Cell
carrol50_at_miamioh.edu<mailto:carrol50_at_miamioh.edu>
--
======================================================================
Clemens Anklin Ph.D. Vice President
Bruker BioSpin NMR Applications & Training
15 Fortune Drive NEW Phone: 978-313-5NMR(5667)
Billerica MA 01821 twitter: _at_canklin
web: www.bruker.com<http://www.bruker.com> e-mail: clemens.anklin_at_bruker.com<mailto:clemens.anklin_at_bruker.com>
======================================================================
Received on Sun Feb 19 2023 - 07:05:16 MST