Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 01:11:27 +0000



Post From: Problem with GetStudyExtraArrayFromChartUsingID

[2018-01-17 07:49:53]
User563013 - Posts: 11
I am using the GetStudyExtraArrayFromChartUsingID, in an ASCIL module. I have a study ID of 1 with 4 subgraphs and I am trying to access the subgraph with an ID of SG2.

SCFloatArray Temp;
sc.GetStudyExtraArrayFromChartUsingID(sc.ChartNumber, 1, 1, 0, Temp);

And I get nothing out of the Temp array, but I can see the data in the chart.

After looking at the data in the debugger none of the temp arrays below show data (yes I made sure they wern't being optimized out)

SCFloatArray Temp;
SCFloatArray Temp1;
SCFloatArray Temp2;
SCFloatArray Temp3;

sc.GetStudyExtraArrayFromChartUsingID(sc.ChartNumber, 1, 0, 0, Temp);
sc.GetStudyExtraArrayFromChartUsingID(sc.ChartNumber, 1, 1, 0, Temp1);
sc.GetStudyExtraArrayFromChartUsingID(sc.ChartNumber, 1, 2, 0, Temp2);
sc.GetStudyExtraArrayFromChartUsingID(sc.ChartNumber, 1, 3, 0, Temp3);

How do I access subgraph data with the GetStudyExtraArrayFromChartUsingID? I am following the example.
Date Time Of Last Edit: 2018-01-17 07:50:54