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 for Programming
 LabTalk Forum
 Ascii import option in Labtalk

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
Ray111 Posted - 05/24/2005 : 05:20:04 AM
I like to automate Acsii import option (for some fixed option) in Labtalk.
DO anybody know how can I save my ascii option in ascii import option dialog box in Labtalk without displaying dialog box and then proceed to import the file using that option.

regards
Ray
2   L A T E S T    R E P L I E S    (Newest First)
Ray111 Posted - 05/27/2005 : 3:26:31 PM
Thanks azazell0 for your excellent tips.
works perfectly.

regards
Ray
azazell0 Posted - 05/24/2005 : 1:13:08 PM
Hi,

open a worksheet, set your ascii options, click the Update Options button, then save your worksheet as a template in your Origin root.

Then you can create a new window based on that template with the

window -t wks test;

command (if your template was named test). Use the

open -w filename;

command to import your data (to the active window). If there are spaces in your file path, be sure to use "filename", like "C:\My Data Files\MyData1.dat".

Edit: of course, it's not neccessary to create&import using Labtalk commands. You can do both manually from the File menu.

Edited by - azazell0 on 05/24/2005 1:23:29 PM

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