Closes a relay in the matrix.
CalMatrixClose (hHandle, lGroup, lRow, lCol, plStatus)
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. |
This function closes a relay in the matrix to make a connection.
The following example closes the relay at row 5, column 2 in Group A(0):
LONG lHandle, lStatus;
CalMatrixClose (lHandle, 0, 5, 2, &lStatus);