Hi,
Using Citect 2016 (update 24) I have a redundant server pair and am starting the same Cicode task at startup on the client process of both servers. The task function sits in a WHILE (1) DO loop forever with a delay between executions.
There is a count increment in the task which I only want to be performed by ONE server if both are online.
If the task ran on an alarm, trend, IO or report server, I could use ServerIsOnline() to check the status of each server pair (primary and standby), but I can't find the equivalent to this for the client process.
Any suggestions on how best to do this?
Thanks
Ash