POC-400 Series
91
DOWriteLineChecked
Syntax
void DOWriteLineChecked(BYTE ch, BOOL value);
Description:
Write a single channel of isolated digital output and read-back
the value of DO register. Note that this function is not returned
until the DO register is checked and identical to the written
value.
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;
DOWriteLineChecked(ch, DOChValue); //write DO channel #3
as TRUE
DOWritePortChecked
Syntax
void DOWritePortChecked(WORD value);
Description:
Write the entire isolated digital output port (8 channels) and
check it has been done. Note that this function is not returned
until the write value has been checked the same with the
device registry.
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
DOWritePortChecked(DOPortValue); //write DO port as 1100b
Содержание POC-400 Series
Страница 1: ...Neousys Technology Inc POC 400 Series User Manual Revision 1 0...
Страница 4: ...Table of Contents 4 GetStatusPoEPort 97 EnablePoEPort 98 DisablePoEPort 99...
Страница 16: ...POC 400 Series 16 1 3 Dimension 1 3 1 Superior View 1 3 2 Front Panel View...
Страница 17: ...POC 400 Series 17 1 3 3 Bottom View...
Страница 47: ...POC 400 Series 47 4 Gently press the card down and secure with a screw 5 Reinstall the system enclosure...
Страница 54: ...POC 400 Series 54 Bottom of the enclosure...
Страница 96: ...POC 400 Series 96 printf StopDICOS PASSED n printf npress any key to exit n system pause nul return 0...