Support Board
Date/Time: Wed, 27 Nov 2024 00:32:28 +0000
Post From: It would be great to have few ACSIL improvements in the Replay management space
[2020-05-22 16:44:59] |
User864728 - Posts: 4 |
Thanks, I did see that in the documentation but as I'm fairly new to programming I wasn't quite sure what to do with that information (I assumed/hoped the function would take parameters the same way sc.StartChartReplay does). Anyway, figured it out now, so in case anyone ever needs this: n_ACSIL::s_ChartReplayParameters ChartReplayParameters; ChartReplayParameters.ChartNumber = 1; ChartReplayParameters.ReplaySpeed = 100; //or whatever speed is required (max 100000) ChartReplayParameters.StartDateTime = sc.BaseDateTimeIn[0]; ChartReplayParameters.SkipEmptyPeriods = 1; ChartReplayParameters.ReplayMode = n_ACSIL::ChartReplayModeEnum::REPLAY_MODE_CALCULATE_SAME_AS_REAL_TIME; sc.StartChartReplayNew(ChartReplayParameters); |