CalMatrixClose

Purpose

Closes a relay in the matrix.

Syntax

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

Parameters

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

Comments

This function closes a relay in the matrix to make a connection.

Example

The following example closes the relay at row 5, column 2 in Group A(0):

 

LONG   lHandle, lStatus;

 

CalMatrixClose (lHandle, 0, 5, 2, &lStatus);

 

See Also

CalMatrixOpen, CalMatrixGetError