Author |
Topic  |
|
drreaf
Germany
45 Posts |
Posted - 11/12/2009 : 5:13:05 PM
|
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
|
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
|
 |
|
Barb Tobias
USA
305 Posts |
|
drreaf
Germany
45 Posts |
Posted - 11/28/2009 : 06:18:02 AM
|
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 |
 |
|
|
Topic  |
|
|
|