Support Board
Date/Time: Wed, 27 Nov 2024 08:35:17 +0000
Post From: Using ACSIL To Access the subgraph value of a Study
[2023-02-18 14:01:46] |
User431178 - Posts: 543 |
SCInputRef Input_Line3Ref = sc.Input[num++];
Yes, but what comes after that, how to do you actually configure the input? For example: Input_Line3Ref.Name = "Example Ref"; Input_Line3Ref.SetStudySubgraphValues(0,0); Then in study settings you would select the Study and Subgraph accordingly. If you are not setting both the Study ID and Subgraph Index in the study settings, then 'Input_Line3Ref.GetSubgraphIndex()' will return 0. using StudyLine3[8] returns a 1 that never changes. using StudyLine3[9] returns a 1 that never changes. All this is doing is accessing the 8th or 9th index of whichever array you have linked to. |