Thank Jim,
I'm glad the new math is helping! You don't know how many times I
approached the math over the years and couldn't come up with a good way to
code it without wasting a bunch of processor time. The math was always a
big aggrevation for me when making macros, and if it was aggrevating to me,
not sure how you all dealt with it!
With the reset, depending how often you check it, you can use an !IFTH
condition with time:
!IFTH [[(RTIME) > 00:00:00]*[(RTIME) < 00:00:10]],=,1, !RSET'
THis would give a 10 second window to check the time and reset. The
statement breaks down to:
IF (time > 00:00:00 AND time < 00:00:10) = 1 THEN !RSET
If you check at least once a second, it could be reduced to:
!IFTH (RTIME),>,00:00:00,!REST
Hope this helps,
Martin
-----Original Message-----
From: selmaware@yahoogroups.com [mailto:selmaware@yahoogroups.com]On
Behalf Of JAMES SCHALL
Sent: Tuesday, November 07, 2006 2:37 PM
To: selmaware@yahoogroups.com
Subject: [StampPlot - Selmaware] Reset Plot at 0:00:00 Hours
Hi, I am building a basic stamp 2 weather station connected to stamp plot.
The station collects lighting strikes, temp, pressure, humidity, wind speed
and wind direction. I am displaying the data as a plot as well as with
meters, text and semi custom jpg files. I really love the new math function,
a great all around program. I was wondering if there is any way to reset the
plot every night at midnight? I have attached a zip file that has all of the
jpg files as well as the stamp plot macro. Any other feed back would be
greatly appreciated.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]