TcOpen
TcOpen copied to clipboard
[BUG] Cognex Dataman Reader Error
Sometimes happens that reading (communication protocol over PN structure) is corrupted. Next reading after Restore() calling go to error again.
Expected behavior After any interruption communication/ReadingTask will works correctly.
My proposal, how to fix issue, it comes from documentation: page.62 To force a reset of the trigger mechanism, set the Trigger Enable bit to False, until the Trigger Ready bit is 0. Then,Trigger Enable can be set TO TRUE TO re-enable acquisition.
page.63 Results Available Set when new results are placed in the Results Module. Stays set until the results are acknowledged by setting Results Ack to true.