IF_TeachingOrientation - RemoveLastSample (Method)

Overview

Type:

Method

Available as of:

V1.8.0.0

This chapter provides information on:

Task

Removes the last stored sample.

Description

With the method RemoveLastSample(...), the last sample that was stored is removed. If the selected set is already empty, the method removes the last sample from the previous set. In this case, the previous set becomes the selected set.

NOTE: The active set and the number of samples already stored in it can be read using the properties udiActiveSetIndex and udiNumberOfSamplesInActiveSet.

Access: PUBLIC

Interface

Output

Data type

Description

q_xError

BOOL

TRUE: An error occurred during last command. For more information refer also to q_etResult and q_sResultMsg.

q_etResult

ET_Result

Provides diagnostic and status information.

If q_xError = FALSE, then q_etResult provides status information.

If q_xError = TRUE, then q_etResult provides diagnostic/error information.

The enumeration ET_Result contains the possible values of the POU operation results.

q_sResultMsg

STRING[80]

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