Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 00:26:22 +0000



Post From: It would be great to have few ACSIL improvements in the Replay management space

[2020-05-22 13:01:39]
User864728 - Posts: 4
We added a new replay function to support more parameters and one of them is to skip empty periods: sc.StartChartReplayNew

Hello,

I tried to replace the older function sc.StartChartReplay with the new sc.StartChartReplayNew function in my code but I keep getting the following error when trying to compile the code:

***
error: invalid initialization of reference of type 'n_ACSIL::s_ChartReplayParameters&' from expression of type 'int'
sc.StartChartReplayNew(sc.ChartNumber, 1, sc.BaseDateTimeIn[0], 1, 4);
***

These are the parameters I am passing to the function:
sc.StartChartReplayNew(sc.ChartNumber, 1, sc.BaseDateTimeIn[0], 1, 4);

Can you advise what should be the correct parameters?

Thanks