Skip to Main Content
Cognex Support Hub
Logo

Example Script To Use The Smartimage Sensor As A Web Server For The DVT Product Family | v1

ZIP: 0 MB

Version: 1

Release Date: 04/03/2009

Language: English

Download

Content Summary

This example file transforms the SmartImage sensor into a web server compatible with DVT SmartImage sensors. It demonstrates how to use the socket object to handle requests from browsers like Internet Explorer and Mozilla, enabling the serving of web pages. To implement, create a new background script and load the zipped file into the sensor. Additional instructions are provided within the script.

This downloadable example file shows an example script that turns the SmartImage sensor into a web server for use with a DVT SmartImage sensor, so the user understands the features and capabilities associated with a new job template. This script shows how you can utilize the socket object to accept requests from Internet browsers (like Internet Explorer and Netscape/Mozilla) and serve web pages. Simply create a new background script and load the zipped file into the SmartImage sensor. Additional instructions are included in the script.Shape