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
 run LabTalk script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

OndrejMM

Australia
81 Posts

Posted - 04/30/2009 :  02:08:07 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi Guys,
I've written a LabTalk script in the Code Builder (script.ogs) and i added it to the project and compliled it,... how can I now run this script from the command window in origin? I've tried run.section(script.ogs) but it doesn't work,...
many thanks, ondrej

OndrejMM

Australia
81 Posts

Posted - 04/30/2009 :  03:15:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I moved a bit but i haven't solved the problem,... i'm trying to run the script using run.file(C:\folder\script.ogs) which should definetely work but it doesn't so maybe there is a problem with my script? it is long but it starts like this:


// active desired worksheet

win -a d90tof2;

// create columns which are needed
// in the current worksheet
win -i 1 n;
win -i 2 t.stress;
win -i 3 t.strain;
// alpha-phase peaks
win -c s.20.1;
win -c s.20.1.err;
win -c s.11.2;
win -c s.11.2.err;

Go to Top of Page

OndrejMM

Australia
81 Posts

Posted - 04/30/2009 :  03:44:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I've sovled the problem,... I'm stupid, sorry for that,... I wanted to delete this topic but despite i'm the author I cannot,... cheers, ondrej
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