Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

StartRelativeToNewest


Mavada Jul 24, 2012 08:44 AM

ive got a 10 min. graph/data screen in rtmc with a 10 min report range button.
but when the graph/data start at the beginning of the graph/data, nothing us shown because the first 10 minutes havent passed yet.
ive heard the StartRelativeToNewest instruction can prevent this, although i dont know how to use it...

this is the data source which must be used in that instruction:

"Server:CR1000.Table1.Windskm"

where the table1 is a 10 min average...


Mavada Jul 31, 2012 10:53 AM

anyone?


smh Aug 9, 2012 02:48 PM

Hopefully this is what you want..

Alias(N,"Server:CR1000.Table1.Windskm");
StartRelativeToNewest(10*nSecPerMin,OrderCollected);
MaxRunOverTime(N,Timestamp(N),10*nSecPerMin)

The Alias just gives the data point a short name.
The StartRelativeToNewest modifier starts the calculation with records 10 Minutes older than the time you run the instruction. Hope that helps.

Log in or register to post/reply in the forum.