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
 One line long name + units when importing?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

RileyDylan

USA
2 Posts

Posted - 01/02/2021 :  12:44:22 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2018b
Operating System: Windows 10

Hello,

Let me first say that I know little to nothing about coding, but I have used and written several labtalk scripts throughout the years so I am slightly familiar with it. I am trying to import data from a series of files, using ImpASC function. The long name and units are in the same line, following the pattern:

Sig1 Time (min)
Sig2 Temperature (°C)
Sig3 Weight (mg)

I have tried every google search I can think of to find information as to how to use and define such one-line patterns, but I simply can't find anything. I'm aware it may be in plain sight, but my lack of knowledge of coding simply makes me fail to recognise it.

I would also need to know if there was any way to extract text from one of essay writer the main header lines and assign it to a string. I need to make a new column with a mathematical operation using weight and a fixed value from one of the header lines, whose pattern is similar to the one stated above (text + value + unit) and is different for every file.

Sorry if this has been asked before, I tried to find similar problems from other users to no avail.

Edited by - RileyDylan on 01/03/2021 01:22:43 AM

cpyang

USA
1406 Posts

Posted - 01/02/2021 :  08:58:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
We have already added button in our current beta version of 2021b to make this very easy post import.

We can further make this to work automatically in the final 2021b release.

Please contact Originlab to beta test this.

CP
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