Thanks Bob,

I will give that a go. I had an ugly solution where I just inserted the code below in the Main(). Not very elegant but it worked. It looked like this: (don’t laugh too much, still learning)

// ================================================== ================
var http = new ActiveXObject("MSXML2.XMLHTTP");
Console.PrintLine("Turning Power On Relays 1 and 2");
http.open("GET","http://192.168.10.95/current_state.xml?pw=admin&Output1=1&Output2=1", true);
http.send();
Util.WaitForMilliseconds(10000); // Wait 10 seconds
// ================================================== ================

Thank you for your help on this.

Terry