DscOptoGetState

Universal Driver Documentation
Gets the overall state of optoinputs from the board, including edge detection, polarity and input state.

Function Definition

BYTE dscOptoGetState(DSCB board, DSCOPTOSTATE* state);

Function Parameters

NameDescription
boardThe handle of the board to operate on
statePointer to the DSCOPTOSTATE struct that will receive the optoinput state information.

Return Value

Error code or 0.


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