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
 Origin Forum
 Set Column Values from Import filter script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

millot.marius

USA
38 Posts

Posted - 05/15/2012 :  6:30:31 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.1 SR2
Operating System:7

Hi

I am using a filter to import data with several column
In the filter, i add a script to run to specify units, name etc

I would like to know how, if possible I could include here a way to associate with the newly created columns a "set column values" code

The idea is that I would be able to modify the "set column value" code afterward.

So far i am only able to create columns and assign, once the appropriate content, but i can't change a parameter in the relationship between my primary data columns and the derived values.

easwar

USA
1964 Posts

Posted - 05/15/2012 :  10:04:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can use the csetvalue X-Function in your script to set up the formula for an existing column, and even set up before-formula script for that calculation, and also the recalculate mode:

http://originlab.com/www/helponline/Origin/en/Programming/mergedProjects/X-Function/X-Function/Csetvalue.html

Easwar
OriginLab
Go to Top of Page

millot.marius

USA
38 Posts

Posted - 05/16/2012 :  12:31:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
perfect
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