ITcVnImageProvider

Interface for an image provider.

Inheritance Hierarchy

ITcUnknown
    ITcVnImageProvider

ITcVnImageProvider 1: Methods

Name

Origin

Description

TcAddRef

ITcUnknown

Increments the reference counter.

TcQueryInterface

ITcUnknown

Get a reference to an implemented interface.

TcRelease

ITcUnknown

Decrements the reference counter.

CheckIfBusy

ITcVnImageProvider

Check whether the module is busy; i.e, an operation is in progress.

CheckIfCameraConnected

ITcVnImageProvider

Check if the camera is properly connected (Returns S_OK if connected and S_FALSE if not. Can only check software connection, i.e. the check is unable to determine if the cable is connected or not in case that S_FALSE is returned).

GetCurrentImage

ITcVnImageProvider

Gets the current image by detaching its internal reference.

GetError

ITcVnImageProvider

Gets result of the last operation performed.

OpenCamera

ITcVnImageProvider

Open camera (open the control channel, open a stream channel, and activate the GVSP receiver).

CloseCamera

ITcVnImageProvider

Close camera (deactivate the GVSP receiver, close the stream channel, and close the control channel).

StartAcquisition

ITcVnImageProvider

Start image acquisition.

StopAcquisition

ITcVnImageProvider

Stop image acquisition.

SoftwareTrigger

ITcVnImageProvider

Initialize the software trigger and trigger it. The initialization step is skipped if it was executed before.

InitializeCamera

ITcVnImageProvider

Set camera to initial state.

System Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT V3.1. 4024.44 or later

PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU

Tc3_Vision