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
 Origin Forum
 Elapsed time ...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

stormo

USA
Posts

Posted - 05/08/2008 :  2:55:46 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): OriginPro 7.5 SR6 v7.5885
Operating System: Windows XP

Searched for 'elapsed time' posts and found two, but they were over my head (LOT of smart people on this forum) and I'm running out of time (patience, and others).

Column A is in seconds. Run this script on this data ...



And get this ...



Little help?.

/s/ GS

greg

USA
1379 Posts

Posted - 05/09/2008 :  09:24:41 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
aa=col(1)[1];
reads the first value in column 1 which is "Time" and since that has no numeric value, aa get assigned as a missing value. Math using missing values results in missing values.

To zero-base your time data, change
aa=col(1)[1];
to
aa=col(1)[2];

and your loop only needs to start at 2:
loop(nn,2,wks.maxrows)

Edited by - greg on 05/09/2008 09:37:18 AM
Go to Top of Page

stormo

USA
Posts

Posted - 05/16/2008 :  12:47:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you, Greg!!

Appreciate the help very much!

/s/ GS
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