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 for Programming
LabTalk Forum
Read a report data
Note:
You must be registered in order to post a reply.
To register,
click here
. Registration is FREE!
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
[quote][i]Originally posted by Tryphon[/i] [br]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 [/quote]
Check here to include your profile signature.
Check here to subscribe to this topic.
T O P I C R E V I E W
Tryphon
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
2 L A T E S T R E P L I E S (Newest First)
Tryphon
Posted - 09/14/2016 : 07:32:54 AM
Thank you, getresults is easy to use.
yuki_wu
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
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000