Just wanted to share this tip with everyone. Believe it or not, XP does not have a "wait" batch command, and so a hack is required.
Without exiting from eSignal's client softwae (winsig.exe), just set a link to click on or execute the following batch command which kills the turbofeed data manager and replaces it, but after waiting a required interval of time so it is more likely to pick up a new server instance.
When the data manager (winros.exe) is reset, eSignal support recommends waiting at least 15 seconds before reconnecting. I had a problem this morning, connecting to a viable historical data server, and realized that this delay is very important in reconnecting to alternative server instances in eSignal's "server farm".
In your c:\esignal directory, create the following restartDataManager.bat file:
taskkill /im winros.exe /t /f
cd \esignal
call wait 15
start c:\esignal\winros.exe
exit
Create another separate .bat file, named wait.bat in the same directory:
ping 1.1.1.1 -n %1 -w 1000 > NUL
***********************
Here's now it works. Taskkill immediately terminates winros.exe, and the call command pauses 15 (seconds) to the wait.bat file. In turn, the ping command expands to:
ping 1.1.1.1 -n 15 -w 1000 > NUL
This waits 1 seconds for each ping reply (which never comes because 1.1.1.1 is an invalid IP address), and repeats the process 15 times for 15 seconds of wait, with output being sent to the null device, before progressing to the next batch command which restarts the data manager. Yeah, there really isn't a wait command in the standard XP distribution...
Without exiting from eSignal's client softwae (winsig.exe), just set a link to click on or execute the following batch command which kills the turbofeed data manager and replaces it, but after waiting a required interval of time so it is more likely to pick up a new server instance.
When the data manager (winros.exe) is reset, eSignal support recommends waiting at least 15 seconds before reconnecting. I had a problem this morning, connecting to a viable historical data server, and realized that this delay is very important in reconnecting to alternative server instances in eSignal's "server farm".
In your c:\esignal directory, create the following restartDataManager.bat file:
taskkill /im winros.exe /t /f
cd \esignal
call wait 15
start c:\esignal\winros.exe
exit
Create another separate .bat file, named wait.bat in the same directory:
ping 1.1.1.1 -n %1 -w 1000 > NUL
***********************
Here's now it works. Taskkill immediately terminates winros.exe, and the call command pauses 15 (seconds) to the wait.bat file. In turn, the ping command expands to:
ping 1.1.1.1 -n 15 -w 1000 > NUL
This waits 1 seconds for each ping reply (which never comes because 1.1.1.1 is an invalid IP address), and repeats the process 15 times for 15 seconds of wait, with output being sent to the null device, before progressing to the next batch command which restarts the data manager. Yeah, there really isn't a wait command in the standard XP distribution...
Comment