Back to Adaptive Vision Library website

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

DAQNavi_GetDigitalInterrupt


Returns interrupt values.

Syntax

void avl::DAQNavi_GetDigitalInterrupt
(
	DAQNavi_State& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	int inSrcChannel,
	int inPort,
	atl::Array<int>& outPortValues
)

Parameters

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
inSrcChannel int 0 - + Channel number which snap event occurs
inPort int 0 - + Port number to scan when interrupt occurred
outPortValues Array<int>& Port values scanned when interrupt occurred

Remarks

Board driver software

This filter is intended to cooperate with digital I/O cards using its vendor SDK. To be able to connect to a card it is required to install DAQNavi SDK software. Currently Adaptive Vision Studio requires DAQNavi SDK version 3.2.

DAQNavi SDK can be downloaded from the following website: http://www.advantech.com.

Device identification

When there is only one device connected to computer, inDeviceID field can be set to Auto. In this situation first available device will be found and connected.

inDeviceID can be used to pick one of multiple devices connected to computer. Set this field to Device Description (for example "DemoDevice, BID#000"), or to Device Number(for example "0"). Both parameters should be available in Advantech Navigator.

Multithreaded environment

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

See Also