Cognex Corp., a Natick-based company specializing in so-called vision technology that is used to read bar codes, said that it has received purchase orders totaling more than $4 million from a large ...