Hi, I imagine that I can't be the first one who wants to do this but neither google nor the forum-search was of any help.
So, basically I want to import some data of the form intensity over time. Unfortunately my time column is saved as bin#, so I need to multiply these values with the time width of my bins to get the actual time and I want this to be done automatically during the import. Afaik Origins import wizard doesn't allow me to multiply any column with a constant value but it enables me to run a script so I guess I need to write a script for that? I have next to zero experience with writing and executing scripts in origin. I tried to run simple "hello world" script during import but failed. Instructions for my problem would be greatly appreciated! regards
As you observed, to modify imported data's values, you have to use Script after import. We also supported "Script after each file import" and all files imported in more file types in Origin 2016.
E.g. col(A)=col(A)*20; //column A will be multiplid by 20
Import wizard also allows extracting varabiels file name or header. So if such constant was stored in file name or header and changes based on data file, you can extract it and use in the Script after import as well.
We support labtalk script. e.g. type "hello world"; //dump hello world in Script window.