FileSourceControl

This FB provides access to the images send by a File Source instance.

Syntax

Constructor:

FileSourceControl(
    OTCID oidITcVnFileImageProvider
)

FileSourceControl 1: Methods

Name

Description

GetCurrentImage

Gets the current available image (if any).

GetCurrentImageAndFileName

Gets the current available image (if any) and the corresponding file name.

StartAcquisition

Activates the File Source. If not in trigger mode, it will start sending images.

StopAcquisition

Deactivates the File Source. It will stop sending images.

Reset

Reset the controller to initial state (might require multiple calls depending on current state, until S_OK is returned)

GetState

Gets the current state of the internal camera control state machine.

TriggerImage

If in trigger mode, this function triggers the next image in the list.

TriggerImageExp

If in trigger mode, this function triggers a specific image in the list.

TriggerImageByName

If in trigger mode, this function triggers a specific image in the list by name.

Required License

TC3 Vision Base

System Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT V3.1.4024.59 or later

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

Tc3_Vision