DscIR104OptoInput

Universal Driver Documentation
Reads an individual optoisolated digital input on an IR104.

Function Definition

BYTE dscIR104OptoInput(DSCB board, BYTE opto, BYTE *value);

Function Parameters

NameDescription
boardThe board handle
optoThe optoisolated input channel number, ranging from 1 – 20 (not 0-19)
valuesA pointer to a byte that stores the value (0 or 1)

Return Value

Error code or 0.


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