reduSetInactive()

Deactivates the emergency switch on the left or on the right in a redundant system.

Synopsis

int reduSetInactive(string sSystem, int peerNr, bool bAsk=true)

Parameter

Parameter Description
sSystem System name
peerNr Number of the peer. 1...Reduhost1, 2...Reduhost2
bAsk

TRUE = Windows are open

FALSE = For internal use. No windows

Return value

The function returns 1 when it was succesfully executed and in case of errors -1.

Error

Description

Deactivates the emergency switch on the left or on the right in a redundant system.

EXAMPLE

Deactivates the emergency switch on the left.

main()
{
  string sSys = "System1";
  int peerNo = 1;
  bAsk = TRUE;
  reduSetInactive(sSys, peerNo, bAsk);
}

Assignment

Redu/Dist functions

Availability

CTRL