Support Board
Date/Time: Wed, 27 Nov 2024 06:42:10 +0000
Post From: ACSIL related, inputs above some index are not shown
[2023-09-19 15:59:56] |
onnb - Posts: 662 |
I am seeing an issue where inputs above some index are not being shown in the study settings and are not saved In other words In the snippet below, In0 and In1 work fine. IOn43 does not show in the input list. You don't see in the snippet below, but we've also seen that In43 is not saved. If I try and save it, next time I open the chartbook that value is not persisted. Does this make sense, am I missing something? SCSFExport scsf_TestInputs(SCStudyInterfaceRef sc)
{ SCInputRef in0 = sc.Input[0]; SCInputRef in1 = sc.Input[1]; SCInputRef in43 = sc.Input[43]; if (sc.SetDefaults) { sc.GraphName = "Input Test"; sc.GraphRegion = 0; in0.Name = "In0"; in0.SetInt(100); in1.Name = "In1"; in1.SetInt(100); in43.Name = "In43"; in43.SetInt(100); return; } if (sc.UpdateStartIndex == 0) { sc.AddMessageToLog(SCString().Format("in0 %d in1 %d in43 %d", in0.GetInt(), in0.GetInt(), in43.GetInt()), 0); } return; } |