|
| Adv Histogram csl |
 |
This script generates the advanced histogram report in the Advanced report section. When executed, you are prompted to enter a file to process. The script uses the function gexReportType('advanced') to display the advanced report page directly, instead of the standard home page. This saves you one mouse click!
Important note: this script doesn't overwrite your options and assumes your report type output is set to HTML. If you want the script to have full control of the options, merge it with the options.csl script.
The source code follows: |
//////////////////////////////////////////
// Welcome to Galaxy Examinator Script
// Find more on www.galaxysemi.com
// File: adv_histogram.csl
//////////////////////////////////////////
// Function to setup the Advanced Histogram report section
SetHistogramReport()
{
sysLog('*** This script creates once advanced histogram! ***');
// Select file name to process
var vFile = sysPrompt('Select the STDF file to process...');
// Enter test# to process
var vTest = sysPrompt('Enter test# to plot:');
// Creates a group to hold the file to process!
var group_id = gexGroup('insert','Group1');
// Add selected file into that group.
gexFile(group_id,'insert',vFile,'all','all');
// Set options to all defaults
gexOptions('reset','all','default');
// Set Histogram report section: all tests
gexReportType('adv_histogram','test_over_range',vTest);
// Get report created+show report at page histogram!
gexBuildReport('advanced');
}
// Script entry point
main()
{
// Call function to setup the Histogram report
SetHistogramReport();
} |
| |
|
|
|