You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description
There is an issue in the TcoDataman_v_5_x_x function block within the TcoCognexVision library. The GetResultAsString method is currently defined with a data type STRING, which by default allows only 80 characters. This limitation can lead to truncated results when longer strings are returned.
Expected Behavior
The return data type for the GetResultAsString method should be updated to STRING(255) to accommodate longer strings and avoid truncation issues.
Steps to Reproduce
Call the GetResultAsString method when the returned string exceeds 80 characters.
Observe that the string is truncated to 80 characters.
Suggested Fix
Update the data type of GetResultAsString from STRING to STRING(255) in the TcoDataman_v_5_x_x function block.
Impact
This fix will allow the method to handle longer strings without truncation, improving the accuracy and completeness of the returned data.
The text was updated successfully, but these errors were encountered:
Issue Description
There is an issue in the
TcoDataman_v_5_x_x
function block within theTcoCognexVision
library. TheGetResultAsString
method is currently defined with a data typeSTRING,
which by default allows only 80 characters. This limitation can lead to truncated results when longer strings are returned.Expected Behavior
The return data type for the
GetResultAsString
method should be updated toSTRING(255)
to accommodate longer strings and avoid truncation issues.Steps to Reproduce
Call the
GetResultAsString
method when the returned string exceeds 80 characters.Observe that the string is truncated to 80 characters.
Suggested Fix
Update the data type of
GetResultAsString
fromSTRING
toSTRING(255)
in theTcoDataman_v_5_x_x
function block.Impact
This fix will allow the method to handle longer strings without truncation, improving the accuracy and completeness of the returned data.
The text was updated successfully, but these errors were encountered: