DscOptoSetState

Universal Driver Documentation
Sets the overall state of optoinputs on the board, including edge detection and polarity.

Function Definition

BYTE dscOptoSetState(DSCB board, DSCOPTOSTATE* state);

Function Parameters

NameDescription
boardThe handle of the board to operate on
statePointer to the DSCOPTOSTATE struct that holds the new optoinput state information (only the output fields are used.)

Return Value

Error code or 0.


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