Nuvo-2400
User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 80 of 81
6.3.2.6 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. Valid values are 0~7.
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