
Nuvo-3100 Series User’s Manual
Copyright © 2014 Neousys Technology Inc. All Right Reserved.
Page 94 of 99
DOWriteLineChecked
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.
For Nuvo-3100 series, 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
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.
For Nuvo-3100 series, value should be a value of 0~15.
Return Value
None
Usage
WORD DOPortValue=0x0C; //1100b
DOWritePortChecked(DOPortValue); //write DO port as 1100b