ETcVnCameraState

Specifies the state of a camera controller, which controls an attached camera.

Syntax

Definition:

TYPE ETcVnCameraState :
(
    TCVN_CS_ERROR             := -1,
    TCVN_CS_INITIAL           := 0,
    TCVN_CS_INITIALIZING      := 1,
    TCVN_CS_INITIALIZED       := 2,
    TCVN_CS_OPENING           := 3,
    TCVN_CS_OPENED            := 4,
    TCVN_CS_STARTACQUISITION  := 5,
    TCVN_CS_ACQUIRING         := 6,
    TCVN_CS_STOPACQUISITION   := 7,
    TCVN_CS_RESETTINGFEATURES := 8,
    TCVN_CS_TRIGGERING        := 9,
    TCVN_CS_CLOSING           := 10
)DINT;
END_TYPE

Values

Name

Description

TCVN_CS_ERROR

The camera controller is in an error state (e.g. the connection to the camera was lost).

TCVN_CS_INITIAL

The camera controller is in the initial state and ready to establish the connection to the camera.

TCVN_CS_INITIALIZING

The camera controller is initializing the camera.

TCVN_CS_INITIALIZED

The camera controller has initialized the camera.

TCVN_CS_OPENING

The camera controller is establishing the connection to the camera.

TCVN_CS_OPENED

The connection to the camera has been established and the camera controller is ready to start the image acquisition.

TCVN_CS_STARTACQUISITION

The camera controller is starting the image acquisition.

TCVN_CS_ACQUIRING

The camera is sending images (either streaming or manually triggered, depending on the configuration).

TCVN_CS_STOPACQUISITION

The camera controller is stopping the image acquisition.

TCVN_CS_RESETTINGFEATURES

The camera controller is resetting the features on the camera.

TCVN_CS_TRIGGERING

The camera controller is processing a softwaretrigger.

TCVN_CS_CLOSING

The camera controller is closing the connection to the camera.

Weiterführende Informationen

Die Zustandsautomaten, für die diese Kamerazustände benutzt werden, sind bei den jeweiligen Funktionsblöcken zur Bild-Akquise beschrieben: