Back to Aurora Vision Library website

You are here: Start » Function Reference » Camera Support » XSightSmartCamera » XSightSmartCamera_GetDigitalInput

XSightSmartCamera_GetDigitalInput


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Gets digital input.

Syntax

void avl::XSightSmartCamera_GetDigitalInput
(
	XSightSmartCamera_State& ioState,
	atl::Optional<int> inDeviceIndex,
	int inPort,
	bool& outValue
)

Parameters

Name Type Range Default Description
Input will be modified ioState XSightSmartCamera_State& Object used to maintain state of the function.
Input value inDeviceIndex Optional<int> 0 - NIL Device identifying number
Input value inPort int 1 - 4
Output value outValue bool&

Remarks

Camera driver software

inDeviceIndex can be used to pick one of multiple devices connected to the computer. inDeviceIndex can be set to:

  • Device Index - X-Sight smart camera identifying internal index.

Camera device driver software

This filter is intended to cooperate with a device using its vendor SDK. To be able to connect to a device, it is required to install X-Sight smart camera SDK.

Add DLL path to system environment variable is required.

Recommended Runtime version for Aurora Vision Studio usage is 1.0.

All the other parameters exposed by camera filters are optional, setting them to 'Auto' leaves related parameter unchanged in camera (device default or user set configuration).

See Also