SR_<Camera Name> - GetProducts (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

This chapter provides information on:

Functional Description

With the method GetProducts, the products data of the vision protocol can be read.

Interface

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> Status message

q_etDiag <> GD.ET_Diag.Ok -> Diagnostic message

q_sMsg

STRING[80]

Event-triggered message that gives more detailed information on the diagnostic state.

Return Value

Data type

Description

SERT.ST_VisionDataProducts

Product data of the protocol and number of products.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value of q_etDiagExt

Plain text

Ok

Ok

0

Ok

NoDataAvailable

14

No data available.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Status message: Reading the products data of the vision protocol was successful.

NoDataAvailable

Enumeration name:

NoDataAvailable

Enumeration value:

14

Description:

No data available.

Issue

Cause

Solution

No data available.

There are no valid header data available.

Ensure that vision data is available by verifying xVisionDataReceived before calling the method.