Operate Crosspoint

Description

Operate a single matrix crosspoint.

Prototype

DWORD PIPLX_OpCrosspoint(SESSION session, DWORD CardNum, DWORD OutSub, DWORD Row, DWORD Column, BOOL Action);

Parameters:

Session - The session variable obtained from the PICMLX_Connect call

CardNum - card number

OutSub - output sub-unit number

Row - crosspoint row (Y) location

Column - crosspoint column (X) location

Action - 1 to energise, 0 to de-energise

Returns:

Zero for success, or non-zero error code.

Note

This function supports matrix operation using row/column co-ordinates in place of the linearized bit-number method employed by PIPLX_OpBit. It offers more straightforward matrix operation, and avoids the need for re-coding if a matrix card is replaced by one having different dimensions.

Related Matrix Functions

PIPLX_ViewCrosspoint

PIPLX_MaskCrosspoint

PIPLX_ViewMaskCrosspoint