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 |
NotConnected |
29 |
Not connected to server. |
LimitReached |
ProtocolLengthExceeded |
15 |
The length of the protocol has been exceeded. |
Enumeration name: |
NotConnected |
Enumeration value: |
29 |
Description: |
Not connected. |
Issue |
Cause |
Solution |
---|---|---|
Not connected to server. |
Trying to send data, but not connected to server. |
Verify that there is a connection to the server before sending data. (Output q_xConnectedToServer. |
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. |