Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 05:40:52 +0000



Post From: Every ACSIL triggered Chart Replay throws Windows error.

[2024-09-11 07:50:08]
skalaydzhiyski - Posts: 58
@SCE

I have been digging last night and I found this thread -> sc.StartChartReplay not working when new Chartbook opened

This is not related to my issue, but you have provided a snippet of code that uses sc.StartChartReplay() as an example of how to use it. I copied the code verbatum and it still throws the above error.

this is the code you provided:

SCSFExport scsf_ChartReplayTest(SCStudyInterfaceRef sc)
{
if (sc.SetDefaults)
{
// Set the configuration and defaults
sc.GraphName = "Chart Replay Test";
sc.GraphRegion = 0;
sc.AutoLoop = 0;
return;
}

if (sc.IsFullRecalculation)
{
sc.SetCustomStudyControlBarButtonText(ACS_BUTTON_1, "Start Replay");

}


// wait for a button
if (sc.MenuEventID == ACS_BUTTON_1)
{
// reset button to off
sc.SetCustomStudyControlBarButtonEnable(sc.MenuEventID, 0);
sc.StartChartReplay(sc.ChartNumber, 60, sc.BaseDateTimeIn[sc.ArraySize - 1] - 1 * DAYS);

}

}

This leads me to believe that maybe the error is something silly from Windows and has no impact on Sierra and I can just ignore it.
A simple Yes/No from @SCE would be perfectly satisfactory at this point.

All the best,
Spas