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.

StartAtTime


Makada May 8, 2020 07:33 PM

Hi,

I  cant get the startattime function in RTMC pro to work.

StartAtTime($"8/5/2020 23:00:00", OrderCollected);

MaxRunOverTime("DataFile_1_minuut:Table1.WS_KPH_S_WVT",Timestamp("DataFile_1_minuut:Table1.WS_KPH_S_WVT"),nSecPerDay)

The outcome is the Maxrun from the whole datasource,  not from the date mentioned at startattime .

What am i doing wrong?

With kind regards .


Makada May 10, 2020 02:35 PM

Hi,

For unknown reason it worked after a restart of RTMC.

Am i right in suggesting with the code below, i can get monthly totals?

For total month of may:

StartAtTime($"1/5/2020 00:00:00", OrderCollected);

TotalOverTime("DataFile_1_minuut:Table1.Rain_mm_Tot",TimeStamp("DataFile_1_minuut:Table1.Rain_mm_Tot"), 31*nsecPerDay)

For total month of june:

StartAtTime($"1/6/2020 00:00:00", OrderCollected);

TotalOverTime("DataFile_1_minuut:Table1.Rain_mm_Tot",TimeStamp("DataFile_1_minuut:Table1.Rain_mm_Tot"), 30*nsecPerDay)

With kind regards .


Makada May 13, 2020 01:56 PM

I see when i choose a start at time date beyond present,  it uses current data...

So i cant pre configure future data sets.

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