You are here: SwitchKit® Development Environment Programmer’s Guide > 10 Redundancy > sk_activateExnetMatrix()

sk_activateExnetMatrix()

Description

The sk_activateExnetMatrix() function activates the standby EX/CPU. This message is also available as sk_activateExnetMatrixOnConnection() and skts_activateExnetMatrix().

Syntax

int sk_activateExnetMatrix(int isLeftFlag, int aNodeID);

int sk_activateExnetMatrixOnConnection(int isLeftFlag, int aNodeID, int aConID);

Threadsafe Syntax

int skts_activateExnetMatrix(int isLeftFlag, int aNodeID, int aConID);

Parameters

The function parameters are shown in the table below.

Argument | Description
--- | ---
isLeftFlag | isLeftFlag!= 0 indicates that the left EX/CPU is activated. isLeftFlag = 0 indicates that the right EX/CPU is activated. If the EX/CPU to be activated is already active, then no action will occur.
aNodeID | Specifies the node the function is sent to.This argument must be set.
aConID | aConID is a connection identifier specified at connection creation time and used to indicate which LLC an application wishes to communicate with

Return Values

Possible return values for this function:

SK_LOST_LLC | This return value indicates that your application lost contact with the LLC.