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
 importing data files into one

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
ringman7677 Posted - 01/15/2004 : 3:33:59 PM
I have ten (10 or more) separate ASCII data files that I want to merge into one worksheet (new rows). The trick is I need to adjust the first value in each column of the imported file to match up with the last value in the previous file. This 'offset' would be applied to every value in the column. This same proceedure needs to be done with the next imported file and so on. I will admit I am not very proficient in script writing so any help would be greatly appreciated.
1   L A T E S T    R E P L I E S    (Newest First)
sammi.song Posted - 02/05/2004 : 02:29:44 AM
Hi ringman7677,

I am not sure if I have understanded your meaning.
I suppose you just want to Append some ASCII data files to same worksheet as rows.
There is a script syntax for it: open -ar filename. Note: If there are spaces in fileName, enclose fileName in quotation marks " ".
For instance:
open -w Disk:\...\Group.dat; //open a given file Group.dat into the active worksheet.
open -ar Disk:\...\test4.dat; //Append test4.dat as new rows to this worksheet.
open -ar ...; //Append more data files.
...
And you can use "Import Multiple ASCII" button to do same job by selecting "New Rows" from Import each file as drop-down list in Import Multiple ASCII Dialog.
Hope they are useful.

Thanks,
Sammi

Edited by - sammi.song on 02/05/2004 02:40:41 AM

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