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
 No Execution at all in Code Builder

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
tbarrou Posted - 02/21/2011 : 06:19:51 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.0 SR1 b161
Operating System: XP

I'm working on a Labtalk Script (FFT) uwith code builder. I executed it several times (debug mode) to improve it (and learn...).

Now , there is no execution at all. NO error messages, no warnings, no change in variables watch window... absolutely nothing!
I tried to recompile, relink, it has no effects
I closed and restarted code builder, it works only once.
I close ans restart Origin, it has no effect.

Is it due to a mistake in the script ? Is there something I can do ? Is it a known issue?

Thank for the help.

below the simple script I m working on

[main]
//
//string FeuilleDepart$ = "[PPOTDR]HighSpeed-FBG";
string tmpFeuille$= "[PPOTDR]tmpSheet";
range rTmpFl = [PPOTDR]tmpSheet!;
range ColFreq= [PPOTDR]tmpSheet!col(a);
range ColAmp = [PPOTDR]tmpSheet!col(b);
range rIni = [PPOTDR]HighSpeed-FBG!col(H);
//range rFreq ;
//range rAmp ;

tree myFFT ;
// rini.nrows
double dInc=0.00125; // seconde
int largeur=2048; // nb points dans la fenetre

for(int i = 1; i <= (2049-largeur); i++)
{
//page.active=2;
range r1=rIni[$(i):$(i+largeur-1)];
//fft1 ix:=r1 interval:= dInc rd:=rTmpFl ; // rt:=none //pre:=none; // rd:="tmpSheet";
fft1 ix:=r1 interval:= dInc rd:=myFFT rt:=<none>;
dataset rFreq = myFFT.fft.freq;
dataset rAmp=myFFT.fft.amp;
// %([PPOTDR]tmpSheet,1)=rFreq;
colFreq= rFreq;
[PPOTDR]tmpSheet!2=rAmp;
//layer -d 6
}
1   L A T E S T    R E P L I E S    (Newest First)
Penn Posted - 02/21/2011 : 10:08:47 PM
Hi,

If your code is LabTalk script, it does not need to compile and link. Open your LabTalk script file (.ogs) in Code Builder, then set a break point and highlight the section name to execute this section.

I have tried your script, but cannot reproduce the problem you mentioned. Maybe you can refer to the help (Help: Programming: Code Builder, then locate to Debugger chapter) for more details on how to debug LabTalk script in Code Builder.

If the problem still exists, please provide the detail steps on how you have debugged the script. And then we can take a further look.

Penn

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