Deditec USB-RELAIS-8_A 데이터 시트

다운로드
페이지 57
DELIB API reference | Seite
38
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).