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
 Text file import with 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
afry Posted - 12/15/2014 : 6:04:02 PM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:9.1
Hello,

I would like to import a large text file in which the data are separated by spaces with labtalk. I am new with the programation with Originlab.


Tkank you for your help

2   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 12/18/2014 : 11:30:23 AM
Hi,

If your file is simple enough, issuing the "open -w " command may be enough like:
open -w D:\Temp\myData.txt
Of course, the following:
impASC fname:=D:\Temp\myData.txt;
also works, and has more controllable options.

--Hideo Fujii
OriginLab
JacquelineHe Posted - 12/16/2014 : 05:16:18 AM
Hi,

For using Labtalk to import ASCII file with separators, please refer to this help page:
http://www.originlab.com/doc/LabTalk/examples/Data-Import#Delimiters_and_Numeric_Separators

Thanks
Jacqueline
OriginLab

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