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 for Programming
LabTalk Forum
Read a report data
New Topic
Reply to Topic
Printer Friendly
Author
Topic
Tryphon
36 Posts
Posted - 09/10/2016 : 1:40:46 PM
Hello,
I desire to read data in a report data generated by this code :
win -a MyWKS; /* worksheet of my data */
tree twowayGUI;
xop execute:=init classname:=ANOVATwoWayRM iotrgui:=twowayGUI;
twowayGUI.GUI.InputData.Use = 0;
xop execute:=update iotrgui:=twowayGUI;
twowayGUI.GUI.InputData.Factor0$=Col(Time);
twowayGUI.GUI.InputData.Factor1$=Col(Species);
twowayGUI.GUI.InputData.Data$=Col(Data);
twowayGUI.GUI.InputData.Subject$=Col(Identities);
twowayGUI.GUI.Interactions=1;
twowayGUI.GUI.MeansComp.Bonferroni=1;
xop execute:=report iotrgui:=twowayGUI;
page.active=page.nlayers;
This generates a report in a separate sheet including multiple tables.
How to access a table, a column or a cell using a labtalk command ? I want to collect the results and use them in the remaining code of my macro.
Thank you.
Origin 2015 64 bits sr2
Operating System: Windows 8.1 64 bits
yuki_wu
896 Posts
Posted - 09/11/2016 : 10:38:51 PM
Hi,
I think you can access your report into a tree variable by using the
getresults
X-Function.
You can find the way in this example:
http://www.originlab.com/doc/LabTalk/guide/Accessing-Metadata#Access_Report_Page_Tree
Hope it helps.
Regards,
Yuki
OriginLab
Edited by - yuki_wu on 09/12/2016 9:18:22 PM
Tryphon
36 Posts
Posted - 09/14/2016 : 07:32:54 AM
Thank you, getresults is easy to use.
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000