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
 One line long name + units when importing?

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
RileyDylan Posted - 01/02/2021 : 12:44:22 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 01/02/2021 : 08:58:17 AM
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

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