Nuvo-2500 Series User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 108 of 154
5.3.2.2 DIReadLine
Syntax
BOOL DIReadLine(BYTE ch);
Description
Read a single channel of isolated digital input.
Parameter
ch
BYTE value specifies the DI channel to be read. Valid values are 0~3.
Return Value
The status (TRUE or FALSE) of the specified DI channel.
Usage
BYTE ch=3; //DI channel #3
BOOL
DIChValue = DIReadLine(ch); //read DI channel #3