
Select the
Scripting
tab. In the
Scripting
pane on the toolbar, select
Open Script
.
The scripting templates can be found in the following location:
C:\Program Files (x86)\Cognex\DataMan\DataMan Software vx.x.x\Scripts
One scripting template generates results to a .csv file and the other generates results to an .html file.
To save the output to a file and specify a file name and location, select the
Results History
tab on the right window. In
the
Logging
option, check the box to
Log all result codes to file system
and select the option for
Logging and reporting
settings…
.
In the
Logging and reporting settings
menu, select a file
Path
and
File Name
under the
Result Code
section. After
providing a
File Name
, you must include either “.csv” or “.html” depending on which template is selected. Select
OK
to
save and exit.
Note
: If you do not include .csv or .html after the file name, it will not save the report correctly.
You can customize the scripts to show more or less detail. For the full list of scripting options, see the
DataMan
Communications and Programming Guide
.
38
Settings