Support Board
Date/Time: Tue, 04 Feb 2025 04:56:03 +0000
[User Discussion] - Debugging code of Custom Bar Charts functions
View Count: 851
[2020-01-05 16:36:15] |
Zosimus - Posts: 345 |
Usually, when I write a regular custom study function (SCSFExport sc_StudyName(SCStudyInterfaceRef sc)) I use the help of sc.AddMessageToLog for debugging but with the function that builds the custom studies (SCSFExport CustomBarBuildingFunctionName(SCCustomChartBarInterfaceRef ChartBarInterface) it is not possible to use the sc.AddMessageToLog. I probably can send data to a text file instead but this may slow the function down quite considerably. I should be grateful for any idea for a replacement sc.AddMessageToLog for code within the Custom Bar Chart building function.
|
[2020-01-05 17:13:31] |
ganz - Posts: 1048 |
yon but this may slow the function down quite considerably.
How did you come to this conclusion? http://www.cplusplus.com/reference/cstdio/fopen/ will do the job and be sure it will be definitely faster then any f() atop on it. |
[2020-01-05 17:16:32] |
Zosimus - Posts: 345 |
Thank you ganz, it was just an unsubstantiated assumption. Gonna try it.
|
[2020-01-06 06:21:13] |
ganz - Posts: 1048 |
yon https://stackoverflow.com/questions/11573974/write-to-txt-file |
[2020-01-06 08:55:34] |
Zosimus - Posts: 345 |
Thank you very much ganz.
|
To post a message in this thread, you need to log in with your Sierra Chart account: