Deditec USB-OPTO-RELAIS-16 数据表

下载
页码 65
DELIB API reference | Seite
43
4.3. Reading Digital inputs
4.3.1. DapiDIGet1
Description
This command reads a single digit input.
Definition
ULONG DapiDIGet1(ULONG handle, ULONG ch);
Parameters
handle=This is the handle of an opened module.
ch=Specifies the number of input that is to be read (0 ..).
Return value
State of the input (0 / 1).