POC-400 Series
90
DOWriteLine
Syntax
void DOWriteLine(BYTE ch, BOOL value);
Description:
Write a single channel of isolated digital output.
Parameter
ch
BYTE value specifies the DO channel to be written.
ch
should be a value of 0 ~ 3.
value
BOOL value (TRUE or FALSE) specifies the status of DO
channel.
Return Value
None
Usage
BYTE
ch=3; //DI channel #3
BOOL
DOChValue=TRUE;
DOWriteLine(ch, DOChValue); //write DO channel #3 as
TRUE
DOWritePort
Syntax
void DOWritePort(WORD value);
Description:
Write the entire isolated digital output port (4 channels).
Parameter
value
WORD value specifies the status of the DO port.
value
should be a value of 0~15.
Return Value
None
Usage
WORD
DOPortValue=0x0C; //1100b
DOWritePort(DOPortValue); //write DO port as 1100b
Summary of Contents for POC-400 Series
Page 1: ...Neousys Technology Inc POC 400 Series User Manual Revision 1 0...
Page 4: ...Table of Contents 4 GetStatusPoEPort 97 EnablePoEPort 98 DisablePoEPort 99...
Page 16: ...POC 400 Series 16 1 3 Dimension 1 3 1 Superior View 1 3 2 Front Panel View...
Page 17: ...POC 400 Series 17 1 3 3 Bottom View...