DscOptoInputBit

Universal Driver Documentation
Gets the state of a single optoinput from the board.

Function Definition

BYTE dscOptoInputBit(DSCB board, BYTE port, BYTE bit, BYTE * optoValue);

Function Parameters

NameDescription
boardThe handle of the board to operate on
portSelected optoinput group
bitSpecific optoinput from the group (0-7)
optoValueThe return value corresponds to the 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.