Cognex Corporation (CGNX) reports earnings