With the method Send, the protocol of vision data, set by SetHeader(...), SetNextProduct(...), and SetAdditionalString(...), can be sent.
If the method Send(...) is called, the header data, product data, and additional string are automatically removed. It is not necessary to call the method ClearVisionData(...) before setting new header data.
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 |
ET_DiagExt |
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. |
q_etDiag |
q_etDiagExt |
Enumeration value of q_etDiagExt |
Description |
---|---|---|---|
Ok |
Ok |
0 |
Ok |
ExecutionAborted |
Disabled |
11 |
Disabled |
NotConnected |
29 |
Not connected to server. |
|
LimitReached |
ProtocolLengthExceeded |
15 |
The length of the protocol has been exceeded. |
Enumeration name: |
Disabled |
Enumeration value: |
11 |
Description: |
Disabled |
Issue |
Cause |
Solution |
---|---|---|
The server is not ready. |
Trying to send data, but the server is not ready. |
Verify that the outputs q_xActive and q_xReady are set to TRUE before sending data. |
Enumeration name: |
NotConnected |
Enumeration value: |
29 |
Description: |
Not connected. |
Issue |
Cause |
Solution |
---|---|---|
No client is connected to the server. |
Trying to send data, but no client is connected to server. |
Verify the output q_xClientConnected to ensure that there is a connection from a client before sending data. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Success |
Status message: Sending the protocol of vision data was successful.
Enumeration name: |
ProtocolLengthExceeded |
Enumeration value: |
15 |
Description: |
The length of the protocol has been exceeded. |
Issue |
Cause |
Solution |
---|---|---|
The length of the protocol has been exceeded. |
The length of the protocol to send to the server exceeds the value of Gc_uiMaxLengthOfProtocol. |
Adapt the parameter Gc_uiMaxLengthOfProtocol. Split the content of the protocol and send it in several protocols. |