You are here: Start » Hardware Support » Matrox » Matrox_ConfigureTimer
Matrox_ConfigureTimer
Header: | ThirdPartySdk.h |
---|---|
Namespace: | avl |
Configures the timer.
Syntax
void avl::Matrox_ConfigureTimer ( Matrox_State& ioState, atl::Optional<const avl::MatroxSystemAndDeviceIdentifier&> inDeviceID, int inTimer, avl::MatroxTimerTriggerSource::Type inTriggerSource, atl::int64 inDelay, atl::int64 inDuration, bool inInvert, avl::MatroxTimerTriggerActivation::Type inActivation, bool inEnable )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | Matrox_State& | Object used to maintain state of the function. | |||
inDeviceID | Optional<const MatroxSystemAndDeviceIdentifier&> | NIL | Device identification. | ||
inTimer | int | 1 - 16 | Timer. | ||
inTriggerSource | MatroxTimerTriggerSource::Type | Continuous | Trigger source for the timer. | ||
inDelay | int64 | 0 - | 1000000L | Delay between the timer trigger and the active portion of the timer output signal (in ns). | |
inDuration | int64 | 0 - | 1000000L | Duration for the active portion of the timer output signal (in ns). | |
inInvert | bool | False | Whether to invert the output signal or not. | ||
inActivation | MatroxTimerTriggerActivation::Type | Signal variation upon which to generate a timer trigger. | |||
inEnable | bool | True | Enable or disable the timer. |
Remarks
I/O device driver software
This filter is intended to cooperate with a Matrox device using its vendor SDK. To be able to connect to the device, it is required to install Matrox MIL X SDK. Matrox industrial PCs usually come with a preinstalled runtime license.
Add DLL path to system environment variable may be required.
Recommended Matrox MIL X SDK version for Aurora Vision Studio usage is V22H1 (10.50.924).
Device identification
Device field can be used to specify the number (rank) of the target board of the specified system type. Device can be set to:
- DEFAULT - Specifies the default board. The default board is set in the MILConfig utility.
- DEVn - Specifies the device number (rank) of the board (where 0 <= n <=15).
System field can be used to specify the system type. System can be set to:
- HOST - Specifies the default build-in system like IO in industrial PC.
- CONCORD - Specifies the IO system from Concord framegrabber.
This filter allows to configure one of the built-in timers.
See Also
- Matrox_EnableTimer – Enables or disables the timer.