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
 Origin Forum
 Porting Origin 7.5 (SR6) Projects to Origin 8 (SR
 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/12/2009 :  5:13:05 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release: OriginPro 7.5 SR6 vs. 8.G SR6
Operating System: XP Professional

Is their a ‘compatibility’ switch in Origin 8 which ensures downward compatibility for Origin 7.5 projects?

None of our OriginPro 7.5 projects – neither intricate nor simple ones – perform when opened with OriginPro 8. E.g., after (apparently successfully building an OC function in the Origin 8 code builder), calling a function myFunc()in the built file returns:

“Unknown function: myFunc(1000, 4, 3, %A_B, %A_C)”

Another nuisance, which I have not been able to resolve, is that in the Origin 8 project explorer worksheets and graphs are shown with their Origin 7.5 labels as names (which often are identical) instead of their worksheet names. Furthermore, multiline column labels of Origin 7.5 datasets become spread across the longname-, units-, and comments fields when opened with Origin 8.

Just the beginning of a longer list of hiccups encountered, when trying to port our existing Origin 7.5 projects to Origin 8.

What do I miss?

Rainer

Rainer Facius, German Aerospace Center

easwar

USA
1965 Posts

Posted - 11/12/2009 :  5:46:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Rainer,

I defined a test OC function similar to yours (code below) and compiled and when I call it from script it works fine. So I am not sure why you get this error, can you contact your tech support office in Germany and send them your OC function, or give them a call so they can help you with this?

As for old labels and how they get handled in Origin 8 (and 8.1), please see this help file topic, which you can also find in your Origin help from the product help menu:
http://originlab.com/www/helponline/Origin8/en/origin_basics/origin_child_window_naming_conventions.htm#OpenOld

In 8.0 if you right click in Project Explorer, the default is to show only window long names (which would be old label 1st line), but you can over ride and select 'Show Long and Short Names'.

As to other hiccups, please send details to tech support in Germany, and they will be able to help you.

Easwar
OriginLab

The function I tried:

void myfunc(int n1, int n2, int n3, string str1, string str2)
{
   printf("%d %d %d %s %s\n", n1, n2, n3, str1, str2);
}



and then from script window I typed
%a=Data1;
myfunc(1000,4,3,%A_B, %A_C);

and I got the correct output:
1000 4 3 Data1_B, Data1_C

Go to Top of Page

Barb Tobias

USA
305 Posts

Posted - 11/12/2009 :  6:04:08 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

Dear Dr. Facius,

For fastest support on this, you can contact your Origin representative in Germany, Additive GmbH:

http://www.originlab.com/index.aspx?s=1&lm=122&pid=858

Thank you.
Barb
OriginLab

Go to Top of Page

drreaf

Germany
45 Posts

Posted - 11/28/2009 :  06:18:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
As the German Additive support found out, the compiler/linker of the Origin 8.0 Code Builder stumbled upon my ANSI C compatible forward declarations of functions. After commenting out these forward declarations, I could access my functions from LabTalk.

This appears to be bug to be repaired. :-)

Regards, Rainer

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