![Neousys Technology POC-551VTC Series Скачать руководство пользователя страница 106](http://html1.mh-extra.com/html/neousys-technology/poc-551vtc-series/poc-551vtc-series_user-manual_1667799106.webp)
POC-551VTC
106
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-551VTC Series
Страница 1: ...Neousys Technology Inc POC 551VTC Series User Manual Revision 1 0...
Страница 14: ...POC 551VTC 14 1 2 Dimension of POC 551VTC NOTE All measurements are in millimeters mm 1 2 1 Front Panel View...
Страница 15: ...POC 551VTC 15 1 2 2 DIO Panel View 1 2 3 COM and Audio Port Panel View...
Страница 16: ...POC 551VTC 16 1 2 4 Bottom View...
Страница 17: ...POC 551VTC 17 1 2 5 Exploded View...