FB_ReceiveVisionData - GetAdditionalString (Method)
Type: |
Method |
Available as of: |
V1.0.0.0 |
This chapter provides information on:
oTask
Retrieve an additional string of the vision protocol.
With the method GetAdditionalString, an additional string of the vision protocol can be read.
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
|
q_sMsg |
STRING[80] |
Event-triggered message that gives more detailed information on the diagnostic state. |
Data type |
Description |
---|---|
STRING[80] |
Additional string of the protocol. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
0 |
Ok |
|
14 |
No data available. |
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. |
Verify that an additional string is part of the vision protocol that was sent. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
Status message: Reading an additional string was successful.