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
 No Execution at all in Code Builder
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tbarrou

France
36 Posts

Posted - 02/21/2011 :  06:19:51 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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
}

Penn

China
644 Posts

Posted - 02/21/2011 :  10:08:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Edited by - Penn on 02/23/2011 03:11:13 AM
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