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
 Memeber function call execution error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

achu6393

India
38 Posts

Posted - 06/27/2016 :  06:30:31 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Hideo Fujii

USA
1582 Posts

Posted - 06/27/2016 :  3:47:29 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

achu6393

India
38 Posts

Posted - 06/28/2016 :  04:32:51 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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!

Edited by - achu6393 on 06/28/2016 04:34:10 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