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
 Scirpts on 7.0PRO
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

blank_name

Brazil
10 Posts

Posted - 02/06/2003 :  07:47:21 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi!

I was using Origin 6.1 and for that I had a script that imported the file, correcting the labels of the data and inserting a time stamp column. This column was set as the first column and as an X column.
I tried using the same script for Origin 7.0PRO and the column went to the end of the worksheet. I tried to plot the way I usually do, but the data looked really strange - normally that sort of data resembles a senoid function, but this time it looked like a "kids drawing". I imported the same data on another computer with Origin 6.1, using the same script and everything worked fine.
Does anyone know what is going on?
Do I need to create a new script, using C, for the7.0PRO version?

Thanks!
samantha

Mike Buess

USA
3037 Posts

Posted - 02/06/2003 :  5:47:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Samantha,

You're Origin 6.1 scripts should work fine in Origin 7.0, but you might run into problems if you use the menu -e menuID command. Origin's menu IDs occasionally change from version to version.

Mike Buess
Origin WebRing Member
Go to Top of Page

Jose

Netherlands
93 Posts

Posted - 02/13/2003 :  1:51:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
My scripts use to work fine in 7.0, except for one command. My problem may help you to identify yours.

I want to have a dataset named %n, with an associated X dataset named %n_a. The way to do this may slightly change from one version to another. My newest script, for 7.0 Pro SR2, uses

create %n -c 5;

In other cases, I had to do

create %n 5;
create %n_a 5;

My oldest script simply states

create %n 5;


I'm not very certain about all this, I just tell you what worked.

Jose Via, Origin WebRing member
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