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
 Memeber function call execution error

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
achu6393 Posted - 06/27/2016 : 06:30:31 AM
Origin Ver. and Service Release: 9.2 (Pro)
Operating System: win 7

Hello all,

I have a problem that when I try to run a .ogs script to mask and delete masked data i get a error message that "Memeber function call execution error" and the script stops there.

The error occurs at this step:
colmask irng:= col("timestamp") cond:= gt val:= date(dend$+ " " +tend$); wdelrows method:=2;

Please help. and Thanks in advance.
-Akki
2   L A T E S T    R E P L I E S    (Newest First)
achu6393 Posted - 06/28/2016 : 04:32:51 AM
hello Hideo Fujji,

Thank you for your reply.

I actually am trying to remove datapoints outside the specified Limits and have the following two lines to do it:

colmask irng:= col("timestamp") cond:= gt val:= date(dend$+ " " +tend$); wdelrows method:=2;
colmask irng:= col("timestamp") cond:= lt val:= date(dstart$+ " " +tstart$); wdelrows method:=2;

The first line works just fine but the error message is shown after the second wdelrows. Is it may be because there is a huge no. of rows (~100000 rows) to delete.

Or is there an alternative to extract a part of a big worksheet based on time constraints?

Cheers!
-Akki.

such coding! much wow!
Hideo Fujii Posted - 06/27/2016 : 3:47:29 PM
Hi Akki,

I have tried the following code, but worked fine in both Origin 2016 and Origin 9.1 (Sorry, I don't have 9.2 in my machine.):
dend$="13/06/30";
tend$="11:00";
colmask irng:= col(A) cond:= gt val:= date(dend$+ " " +tend$); wdelrows method:=2;
Not sure what went wrong in your application.

Maybe you can check the current active window, name of the column, arguments of the colmask, etc.?

--Hideo Fujii
OriginLab

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