The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 export multiple books to asc files

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jqian Posted - 10/15/2021 : 12:25:56 PM
Origin Ver. 2021b

Could you please let me know how to export all data books to .dat or .asc files?

Thanks!
3   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 10/15/2021 : 2:12:16 PM
You can use this instead.
It used expASC xfunction in Origin. It has option to save short name, long name, comments, etc. of data.

U can choose File: Export: ASCII to customize export setting and also click > next to dialog theme to generate script

doc -e w{
expASC path:="C:\tmp\%H.dat";

}

Thanks, Snow
jqian Posted - 10/15/2021 : 1:57:55 PM
I'm sorry.
I do have a question.

Using the script as below:

doc -e W {
save -wh %H c:\TEMP\%H.DAT;
};

I can export data in ascii or dat format.
But the saved ascii data have the columns' name A, B, C ... on the top of the data.
Could you please let me know how to export data without the column names on top?

Thanks
JQ
jqian Posted - 10/15/2021 : 12:44:29 PM

I got it:

doc -e W {

save -wh %H c:\TEMP\%H.DAT;

};

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000