DscIR104RelayInput

Universal Driver Documentation
Reads the current state of an individual relay on the IR104.

Function Definition

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

Function Parameters

NameDescription
boardThe board handle
relayThe relay number, ranging from 1 – 20 (not 0-19)
valueA pointer to a byte that stores the value (0 or 1)

Return Value

Error code or 0.


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