Login Page - Create Account

Support Board


Date/Time: Tue, 20 May 2025 20:53:55 +0000



Post From: [shared] persistent variables vs study inputs vs direct sc methods (for 2+ studies)

[2023-12-21 15:48:03]
User133994 - Posts: 81
Well, I wrote a custom solution using a flat file using ACSIL Interface Members - Functions: sc.OpenFile() and the other file commands with SC. And....it worked?

Performance is perfect. I see the change with my eyes the same time the 2nd chart sees it.

Now, I'm really confused as to why I can write a flat file and have better performance sharing state information between 2 studies and 2 charts?

I must really be missing something or am using the shared persistent variables wrong? Nonetheless...I'll read any responses. For now, flat file is the way to go; I'm abandoning persistent variables in favor of a flat file for this part of the design (and likely any future parts).

No, I'm not writing arrays to the flat file, just state information for various bot algorithms I have. So the data requirements aren't huge like it would be for saving an array.

Any comments welcome. Thanks