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
 Origin Forum
 personalized import filter

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
Dayor Posted - 10/17/2016 : 07:42:16 AM
Hi,
in trying to construct my own import filter i've ran into a problem I can't seem to solve. the header of all my files (which is given by the measurement software and cannot be changed) is as followed:

"Comment y-axis"
"Long name x-axis unit x-axis" "Long name y-axis"

As I will later only import the x-axis of the first dataset and afterwards only the y-axis, it is import that the comment is written in each y-axis.
Is it possible to define longname comment etc by position alone and individually for x and y axis?
Can anyone please tell me how to fit this into an import filter?

Thanks.
1   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 10/17/2016 : 4:04:16 PM
Hi Dayor,

> "Comment y-axis"
> "Long name x-axis unit x-axis" "Long name y-axis"
> As I will later only import the x-axis of the first dataset and afterwards only the y-axis,
> it is import that the comment is written in each y-axis.
> Is it possible to define longname comment etc by position alone and individually for x and y axis?

Though I cannot figure out exactly what you want to achieve from which kind of the source data
structure, I suspect and suggest the following:

The header of the first row for the Y Comment is at the first field, therefore it would be placed
as a comment of the first column against your intention to place in the second column.
To achieve what you want, you can place the following LabTalk command in the
"Script after Each File Import" box at the advanced filter options page:
col(2)[C]$=col(1)[C]$;
to copy the first column's Comment to the second column. After importing all files, you may need
to delete the X column for each Y dataset.

Hope my suggestion helps.

--Hideo Fujii
OriginLab

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