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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Text file import with labtalk
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

afry

France
11 Posts

Posted - 12/15/2014 :  6:04:02 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

JacquelineHe

287 Posts

Posted - 12/16/2014 :  05:16:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 12/18/2014 :  11:30:23 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Edited by - Hideo Fujii on 12/18/2014 11:37:00 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000