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 for Programming
 LabTalk Forum
 Origin 7.5 vs Origin 8.0 compatibility
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

drreaf

Germany
45 Posts

Posted - 11/27/2009 :  2:42:57 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release: OriginPro 7.5 SR6 v7.5885 / 8G.0.63.988 SR6
Operating System: MS Windows XP Professional

In OriginPro 7.5 I used the LabTalk commands

wks.col$($(cln))=
“line1
line2
line3
line4
line5“;

wks.labels();

to fill multi-line dataset labels for column cln. Often, line1 denotes a quantity and line2 the corresponding unit, which would agree with Origin 8. Most of the time, however, I need three lines whereas in some instances 4 and occasionally 5 lines are required.

So far I have not been able to simulate this OriginPro 8.

Furthermore I repeat a previous question: How can I force the Origin 8 project explorer window to display what in Origin 7 is the worksheet-NAME instead of what in Origin 7 is the worksheet-LABEL and which is displayed in the label column of the Origin 7 project explorer. In my scripts, I ’encode’ into the worksheet names meta-information to visually organize the sometimes several hundred worksheets whereas the worksheet labels are less systematic and more verbose descriptions which also include numerical parameter values. Searching these labels/longnames as displayed in the project explorer of Origin 8 is next to useless for me to identify the worksheet content.

Thanks for any help.

easwar

USA
1964 Posts

Posted - 11/27/2009 :  7:59:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please refer to the Origin help file to this topic:
http://www.originlab.com/www/helponline/Origin8/en/origin_basics/origin_child_window_naming_conventions.htm#OpenOld
to see how old label maps to new properties in Origin 8/8.1

So you can use code such as this in Origin 8.x:

wcol($(cln))[L]$="This is the long name";
wcol($(cln))[U]$="This is units";
wcol($(cln))[C]$=
"Comments 1st line
Comments 2nd line
Comments 3rd line...";


You can refer to the new LabTalk Scripting Guide for more information. This guide is for 8.1 but most of it is applicable to 8.0
:
http://wiki.originlab.com/~originla/wiki/index.php?title=Category:LT_Guide

See the topic on accessing meta data:
http://wiki.originlab.com/~originla/wiki/index.php?title=Script:Accessing_Metadata

As for project explorer, right click inside the bottom panel and select "Show Long and Short Names". This will then display the window short name and the window long name (which used to be 1st line of window label). Once you do this, from next session onwards PE will continue showing short and long names.

Easwar
OriginLab
Go to Top of Page

drreaf

Germany
45 Posts

Posted - 11/28/2009 :  04:56:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Easwar,

many thanks for your prompt reply.

At long last the Origin 8 PE is now displaying what I need.

Your hints on multi-line column headers will be implemented next, and I am confident they will work. That will ease dealing with the remaining migration problems which relate to contents instead of outlook only.

Rainer

p.s.I ordered already upgrades to 8.1 so your reservations will not apply.

Rainer Facius, German Aerospace Center
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