Back to Adaptive Vision Library Lite website

You are here: Start » NET SynView » SynView_ConfigureTimer



Configures one of the internal hardware timers available in the camera.


void avl::SynView_ConfigureTimer
	SynView_ConfigureTimerState& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	avl::SynViewTimerSelector::Type inTimerSelector,
	int inTimerDuration,
	int inTimerDelay,
	avl::SynViewTimerTriggerSource::Type inTimerTriggerSource


Name Type Range Default Description
ioState SynView_ConfigureTimerState& Object used to maintain state of the function.
inDeviceID Optional<const String&> NIL Tries to find the camera in all available IDs (UserID, VendorName, ModelName...)
inTimerSelector SynViewTimerSelector::Type Timer selector
inTimerDuration int 0 - Sets the duration (in microseconds) of the timer active pulse.
inTimerDelay int 0 - Sets the delay (in microseconds) applied between activating the timer and issuing the timer active signal
inTimerTriggerSource SynViewTimerTriggerSource::Type Internal device signal activating the selected timer.


Advanced digital outputs configuration

The timer has a configurable Timer Delay and Timer Duration parameters (both in us).

Timers can be used to control digital outputs. In such case, the Line Source in SynView_ConfigureDigitalIO has to be set to e.g. Timer1Active (when inTimerSelector is Timer1).

The delay defines, how long after the timer's start the camera asserts the output.

The duration defines, how long the output stays active.


The number of timers available depends on the camera model. Timer1 can be assumed to be present.

For convenience, this filter may be invoked in the main program loop, without significant impact on the performance.

Camera driver software

This filter is intended to cooperate with cameras using their vendor's SDK. In order to connect with the camera, it is required to install SynView SDK software with camera dedicated drivers.

SynView SDK can be downloaded from the following website:

To verify the driver installation, you can run SynView Explorer (in the directory where camera drivers where installed). If the camera was detected and you can see the view from the camera, you can use SynView camera SDK in Adaptive Vision Studio.

Recommended SynView SDK version for Adaptive Vision Studio usage is 1.03.003.

Camera identification

When there is only one camera connected, the field inDeviceID can be set to Auto. In this situation, the first available camera will be used.

inDeviceID can be used to pick one of multiple cameras connected to the computer. DeviceID can be set to:

  • UserID - User ID (also known as nickname) of the selected device,
  • VendorName - Name of the manufacturer of the device,
  • ModelName - Model name of the device,
  • DisplayName - Device display name,
  • IPAddress - Current IP address of the selected device (GigE Vision devices only),
  • MACAddress - MAC address of the selected device (GigE Vision devices only),
  • SerialNumber - String representation of camera's unique serial number.

Multithreaded environment

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

See Also