Applies To:
  • CitectSCADA 3.xx, 4.xx, 5.xx

I have used 'hMsg = MsgOpen("Trend",3,0);' in my cicode function to open a connection between my primary and standby trend servers.

The problem is that 'hMsg' seems to get a valid handle even when the standby trend server is turned off. Why?

This may seem strange but this it is the way the messaging should work. If you are opening this message from your primary server and the standby server is not running then a connection is still registered. A connection will be made automatically once the other server is up.