The method DestroyTarget removes the specified target from the scene.
The event is written to the internal events buffer and to the OPC UA structure by the method Update.
Input |
Data type |
Description |
---|---|---|
i_udiTargetId |
UDINT |
ID of the target to be removed from the scene. The ID must be unique. |
Output |
Data type |
Description |
---|---|---|
q_xError |
BOOL |
Indicates TRUE if an error has been detected. For details, refer to q_etResult and q_sResultMsg. |
q_etResult |
Provides diagnostic and status information as a numeric value. |
|
q_sResultMsg |
STRING [80] |
Provides additional diagnostic and status information as a text message. |
q_xError |
q_etResult |
Description |
---|---|---|
FALSE |
Ok |
The event was set. |
TRUE |
TargetIdInvalid |
The event was not set. |
FALSE |
BufferFull |
The event was set. |