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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 run LabTalk script

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
OndrejMM Posted - 04/30/2009 : 02:08:07 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
OndrejMM Posted - 04/30/2009 : 03:44:38 AM
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
OndrejMM Posted - 04/30/2009 : 03:15:01 AM
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;


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000