Back to Adaptive Vision Library Lite website

You are here: Start » NET SynView » SynView_SetUserOutput

SynView_SetUserOutput


Sets SynView user outputs.

Syntax

void avl::SynView_SetUserOutput
(
	SynView_SetUserOutputState& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	avl::SynViewUserOutputs::Type inUserOutput,
	bool inValue
)

Parameters

Name Type Default Description
ioState SynView_SetUserOutputState& 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...)
inUserOutput SynViewUserOutputs::Type User output for configuration
inValue bool Status of the selected user output

Description

Digital IO output lines can be driven by toggling values of the corresponding user outputs - select the User Output Number, then set its bool value.

To connect a user output with a digital output use the SynView_ConfigureDigitalIO filter.

User outputs can be used to enable synView timers for advanced digital outputs control. To configure it use the SynView_ConfigureTimer filter, setting Timer Trigger Source accordingly.

More info about user outputs can be found in the SynView Manual: Section 6.7.5 "User output configuration."

Remarks

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: https://net-gmbh.com/en/download.html

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