Back to Aurora Vision Library website

You are here: Start » Function Reference » Camera Support » AXIS » AXIS_ReadDigitalPortStatus

AXIS_ReadDigitalPortStatus


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Reads AXIS digital port.

Syntax

void avl::AXIS_ReadDigitalPortStatus
(
	AXIS_State& ioState,
	const atl::String& inAddress,
	int inCameraID,
	atl::Optional<const atl::String&> inLogin,
	atl::Optional<const atl::String&> inPassword,
	int inPort,
	bool& outActive
)

Parameters

Name Type Range Default Description
Input will be modified ioState AXIS_State& Object used to maintain state of the function.
Input value inAddress const String& Source device host or ip address
Input value inCameraID int 1 - 4 ID of camera
Input value inLogin Optional<const String&> NIL Login for Basic authorization
Input value inPassword Optional<const String&> NIL Login for Basic authorization
Input value inPort int 0 - Port number
Output value outActive bool&

Errors

List of possible exceptions:

Error type Description
DomainError Empty inAddress in AXIS_ReadDigitalPortStatus.