//////////////////////////////////////////
// Welcome to Galaxy Examinator Script
// Find more on www.galaxysemi.com
// File: adv_correlation.csl
//////////////////////////////////////////
// Function to setup the XY-Scatter Correlation report section
SetScatterReport()
{
sysLog('*** This script creates a Scatter/Correlation plot! ***');
// Select file name to process
var vFile = sysPrompt('Select the STDF file to process...');
// Edit test# to plot in X
var vXaxis = sysPrompt('Test# to plot in X:');
// Edit test# to plot in Y
var vYaxis = sysPrompt('Test# to plot in Y:');
// Compute the list of the two tests
var vTests = vXaxis + ' ' + vYaxis;
// 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_correlation','test_over_range',vTests);
// Get report created+show report at XY-Scatter page !
gexBuildReport('advanced');
}
// Script entry point
main()
{
// Call function to setup the XY-Scatter report
SetScatterReport();
} |