Back to Adaptive Vision Library website

You are here: Start » Function Reference » Advantech » DAQNavi_SetDigitalOutputBit



Sets digital output bit to specified value.


void avl::DAQNavi_SetDigitalOutputBit
	DAQNavi_State& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	int inPort,
	int inBitId,
	bool inValue


Name Type Range Default Description
ioState DAQNavi_State& Object used to maintain state of the function.
inDeviceID Optional<const String&> NIL Description or index of device
inPort int 0 - + Port used for outputting data
inBitId int 0 - 8 Bit id within the selected port
inValue bool Value to output

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.