Support Board
Date/Time: Sat, 09 Aug 2025 19:29:12 +0000
[Programming Help] - ASCIL Custom Study Not Exporting
View Count: 36
[2025-08-09 03:08:18] |
Gradient - Posts: 169 |
Hi, I built an additional custom study that contains foundational elements from prior custom studies. These base components require the use of sc.GetStudyArraysFromChartUsingID. I developed and attempted to build a recent study only to find that though it had been saved in the directory, it didn't appear in the files dropdown from the build menu. I exported a copy in the event there was an issue to avoid losing a significant amount of code. I reopened the source file and it contained a default template for creating a custom study instead of my original code. I copied and saved the exported version into a new file and this time it appeared in the directory and I was able to build after 3-4 updates and reversions. I ultimately reverted back to version 2773 which is the versioning on the current study. I also noticed after restarting the platform that none of the prior configurations that were saved before and at closing persisted. After applying the custom study, though the logic hasn't changed from prior w.r.t. the sc.GetStudyArraysFromChartUsingID (i.e. inputs are identical;) no values are populated. I created a test study that only contains the sc.GetStudyArraysFromChartUsingID to troubleshoot whether or not the issue was isolated to the new study or something else. After building the TestCustomStudy it too has the same issue but I noticed in the Add Custom Study menu, instead of just displaying the DLL name like prior studies, it displays scsf_StudyByIDTest. When applying it to the chart, it doesn't display the actual study name but instead just says Custom DLL Study. Can someone advise as to why this may be happening? Date Time Of Last Edit: 2025-08-09 03:14:35
|
![]() ![]() |
[2025-08-09 03:35:25] |
Gradient - Posts: 169 |
I realized I omitted the sc.GraphName in the StudyByTestID defaults. Adding it corrected the rendering of the name in the Custom Study Menu. However, the issue with sc.GetStudyArraysFromChartUsingID still persist despite it being a copy and paste from prior versions of which have no issues rendering. |
[2025-08-09 04:14:55] |
Gradient - Posts: 169 |
I substituted sc.GetStudyArraysFromChartUsingID with sc.GetStudyArrayUsingID in the TestStudy and it correctly rendered the output of the study. I then copied and pasted this code block into the Prod study and it didn't render the output. |
![]() |
[2025-08-09 05:11:35] |
Gradient - Posts: 169 |
I've resolved the issue. I realized that there was a return statement on the outside if the SetDefaults conditional. This was preventing the subgraphs from populating. |
To post a message in this thread, you need to log in with your Sierra Chart account: