DscOptoInputByte

Universal Driver Documentation
Simultaneously gets the state of 8 optoinputs from the board.

Function Definition

BYTE dscOptoInputByte(DSCB board, BYTE port, BYTE * optoValue);

Function Parameters

NameDescription
boardThe handle of the board to operate on
portSelected optoinput group
optoValueEach bit in the return value corresponds to one optoinput state (0 or 1)

Return Value

Error code or 0.


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