You are here: Start » Function Reference » Hardware Support » Advantech » DAQNavi_InitInterrupts
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Initializes interrupts.
Syntax
void fil::DAQNavi_InitInterrupts ( DAQNavi_State& ioState, ftl::Optional<const ftl::String&> inDeviceID, const ftl::Array<int>& inChannels, fil::DAQNaviTrigger::Type inTriggerMode )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
ioState | DAQNavi_State& | Object used to maintain state of the function. | |
![]() |
inDeviceID | Optional<const String&> | NIL | Description or index of device |
![]() |
inChannels | const Array<int>& | Interrupted channel numbers | |
![]() |
inTriggerMode | DAQNaviTrigger::Type | Trigger mode |
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 FabImage Studio requires DAQNavi SDK version 4.1.3.
DAQNavi SDK can be downloaded from the following website: https://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.
See Also
- DAQNavi_SetPortDirection – Sets the port direction (input or output).
- DAQNavi_GetDigitalInput – Returns value from digital input.
- DAQNavi_GetDigitalInputs – Returns values from all digital inputs.
- DAQNavi_GetDigitalInterrupt – Returns interrupt values.
- DAQNavi_SetDigitalOutput – Sets digital output value.