Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 19:01:31 +0000



Post From: I want to dynamically/programatically send data to SC for display on a price chart

[2024-05-12 10:46:10]
User431178 - Posts: 541
This is what I'm trying to do.

Ok, so the readfile with periodic updates suggestion would work for the local hosted case.

You could use peristent date time variable to record the last update time, then wait a specified length of time before querying the file again.
Persistent Variable Functions


For the remotely hosted version, it depends, how much data are you sending and how often?
In other words, is it better to stream the data (and only send new/updated/removed levels) or to periodically request a file (from the server) with all the levels?

If the latter, which I would assume the most liekly case, then you have options within ACSIL to make life easy.

sc.MakeHTTPRequest()
sc.MakeHTTPPOSTRequest()
sc.MakeHTTPBinaryRequest()

The process would be similar to local host, you just need to request the file from your server and download it first.