CalMatrixOpen

Purpose

Opens a relay in the matrix.

Syntax

CalMatrixOpen (hHandle, lGroup, lRow, lCol, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Matrix.
lGroup
LONG
Set the matrix group to set.
IRow
LONG
The Row coordinate of the relay in the matrix to open.
ICol
LONG
The Column coordinate of the relay in the matrix to open.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

This function opens a relay in the matrix to break a connection.

Example

The following example opens the relay at row 5, column 2:

 

LONG   lHandle, lStatus;

 

CalMatrixOpen (lHandle, 5, 2, &lStatus);

 

See Also

CalMatrixClose, CalMatrixGetError