DscIR104SetRelay

Universal Driver Documentation
Sets the state of one relay on the board to either open or closed.

Function Definition

BYTE dscSetRelay(DSCB board, BYTE relay, BYTE value);

Function Parameters

NameDescription
boardThe handle of the board to operate on
relaySelected relay
valueNew 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:52, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.