Author |
Topic |
|
Stefan Bollmann
Germany
10 Posts |
Posted - 10/20/2009 : 12:53:52 PM
|
Hi,
I'm searching for some help in labtalk. The help files of origin are good, but if i want to know how to plot with lines (i used plotxy) i cannot find any help in the help section. Also help for using things by example is not easy to find for me. Can anyone give me some resources on the web or tell me good books about that?
Thx, Stefan |
|
easwar
USA
1964 Posts |
|
Stefan Bollmann
Germany
10 Posts |
Posted - 10/21/2009 : 7:17:28 PM
|
Hi Easwar et al., thank you for the fast answer and the two links. Yes, i once saw those pages, but didn't realize that they are that helpful.
My problem was, that i didn't find in the help files of origin, how to get help if i don't know the commands and operators i need for a task like importing multiple datafiles with my own filter (yes, i can do it by hand) into multiple workbooks. There i try to fit every dataset with my fit function and want to have a graphical output of the dataset and the fit. The thing is, i need log10 scale in the graph and like to have lines and points .... ;-)
I will try, maybe there are some questions the next days, weeks, months...
|
|
|
Stefan Bollmann
Germany
10 Posts |
Posted - 10/22/2009 : 07:58:17 AM
|
So the first thing that I spend some time on now is the import of my files. The first example of http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:Data_Import runs very well.
Until now, I do my importing always the same way by using the import assistant. In the Filters folder of my User Files Folder (UFF) is a filter called ASCII.oif (that I usually use). If I delete all oder files in UFF/Themes/AnalysisAndReportTable/ and do an import by hand with ASCII.oif, a new "0-FitNL-Last used.ois" is created in Themes/AnalysisAndReportTable. But I fail using this filter with
string fn$="file.asc"; impasc fname:=fn$ -t "0-FitNL-Last used";.
All origin does is doing an import not using the settings I made using the import assistant.
EDIT: Ok, problem is solved. I found it in http://www.originlab.com/forum/topic.asp?TOPIC_ID=7898 - it is better to use impfile. |
Edited by - Stefan Bollmann on 10/22/2009 08:25:08 AM |
|
|
Stefan Bollmann
Germany
10 Posts |
Posted - 10/22/2009 : 09:42:36 AM
|
Hi,
next thing: I also try to use the import wizard. But not every command described in the labtalk reference does his job here. When i try to use wks.addCol() in the Advanced Filter Options -> tabtalk code after succesful import:
wks.addCol()
nothing happens in my active worksheet, where my data are imported. But without this wks.addCol I can fit my data using the lines
nlbegin(1,2) diff3Exp tt; nlfit; nlend output:=1 autoupdate:=1;
with my fit function diff3Exp. If I write it like this
wks.addCol() nlbegin(1,2) diff3Exp tt; nlfit; nlend output:=1 autoupdate:=1;
nothing happens either. What is wrong and how can I fix it? |
|
|
easwar
USA
1964 Posts |
Posted - 10/22/2009 : 09:55:57 AM
|
Hi Stefan,
Not sure how your data is structured in your file, and why your filter is not adding a column...best i think would be for you to send your files to your tech support contact in Germany and have them take a look.
I also want to point out that starting with version 8, one can set up an analysis template where the import settings can be saved to the import sheet, plus you can set up all the analysis you need, including a custom graph and report etc. And then such analysis template can be re-used either manually from the GUI, or programmatically from LabTalk or Origin C. So I suggest you consider that option as well.
You can learn more about analysis templates in general from this page: http://originlab.com/index.aspx?s=8&lm=115&pid=1039 This page has link to a movie at the top of the page.
Then in LabTalk you can simply open a new instance of the analysis template ogw and import your new data file into the data sheet using impfile x-function, and the rest of the analysis and embedded graphs etc will all automatically update.
Easwar OriginLab
|
|
|
redman
UK
59 Posts |
Posted - 10/23/2009 : 06:36:30 AM
|
Is it possible to post a PDF manual of Programming? |
|
|
coll@inia.
Spain
125 Posts |
Posted - 10/23/2009 : 3:23:20 PM
|
GOOD POINT!!!! I will be waiting for a pdf manual on labtalk ! julio |
|
|
|
Topic |
|