Home galaxy
galaxy
galaxy galaxy galaxy
spacer
spacer
Arrow
spacer
Arrow
spacer
Adv Datalog.csl
spacer
This script generates the datalog report section for tests 1000 to 1005. When executed, you are prompted to enter a file to process. The script uses the function gexReportType('advanced') to display the datalog page (advanced report) 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_datalog.csl
//////////////////////////////////////////

// Function to setup the datalog report section
SetDatalogReport()
{
sysLog('*** Script to datalog tests 1000-1005! ***');

// Select file name to process
var vFile = sysPrompt('Select the STDF file to process...');

// 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 datalog report section: show tests 1000 to 1005
gexReportType('adv_datalog','tests','1000-1005');

// Get report created+show it (the advanced report page)!
gexBuildReport('advanced');
}

// Script entry point
main()
{
// Call function to setup the datalog report
SetDatalogReport();
}

 
spacer