DscGetRelay

Universal Driver Documentation
Gets the state of one relay on the board.

Function Definition

BYTE dscGetRelay(DSCB board, BYTE relay, BYTE* value);

Function Parameters

NameDescription
boardThe handle of the board to operate on
relaySelected relay
valueCurrent relay state (0 or 1). Please consult the user manual for your particular product to determine the relationship between the value and the relay state.

Return Value

Error code or 0.


This page was last modified 11:51, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.