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
 Origin Forum
 script causes Origin 6.0 crash

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
Markus Posted - 03/22/2000 : 8:35:00 PM
In Origin 6.0 SR1 on Win-NT4.0with SP5 I try to open existing projects on a network drive (files are not write-protected) within a loop and perform some calculations, then writing the results of the calculations into a worksheet that I created before and set as a system window to keep open during the loop.
In Origin 5.0 on the same machine it works fine but in Origin 6.0 as soon as the project should be opened and I can see the frame of the graph in the project to open I get a crash. The script -with comments- I use is:

%j=00;%m=03;k=31;%t=01;%B=networkpath;
win -t data origin sfcwi%j%m;
sfcwi%j%m!page.sysWin=1;
#works fine till here

loop (count,$(%t),k)
{
doc -s;
doc -o %B\filename%t.opj;
#path,filename OK
#status is 'Appending to projekt UNTITLED'
#run.section(,calculation);
if $(%t)<9 %t=0$($(%t)+1);
else %t=$($(%t)+1);
};

Again, in 5.0 this works, why not in 6.0?

Thanks in advance
Markus

1   L A T E S T    R E P L I E S    (Newest First)
Laurie Posted - 03/22/2000 : 3:39:00 PM
Hi Markus,

The crash is a result of having a system window open when opening a new project. This problem has been entered in our tracking system.

For now, you could have your script send the results to the Script Window. Then at the end you can export this file as a text file.

--------------
Laurie
Microcal Technical Support


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