Login Page - Create Account

Support Board


Date/Time: Tue, 30 Apr 2024 12:21:08 +0000



Post From: ACSIL control of chart bar period and days to load

[2019-07-18 09:52:53]
User681685 - Posts: 12
hi... Thank yuo for the code. I Find the Problem now. but i dont know what is wrong. The Problem is in this case....

{.....}

SCDateTime& pLastCalculationDateTime = sc.GetPersistentSCDateTime(50);
SCDateTime& pLastRangeChangeDateTime = sc.GetPersistentSCDateTime(51);

if (CurrentDateTime - pLastRangeChangeDateTime > (Input_ChTime.GetInt() * SECONDS))
{
.....
//calculation and Range-Change....
}

pLastCalculationDateTime = CurrentDateTime;

{.....}

-------------------

when i make the Time-questions extract from code, then it works on replay to, with... only in realtime...
can you help me?