Hi,
I have a need to publish Product Monitors on a daily basis from Final Tester measurement data.
There are many parameters measured on multiple products.
I have succeeded in setting up the monitors in a form that meets my needs but most of them get lost when saved in the Interactive HTML format.
Below are some screen grabs of the issue (limited to one parameter):
When I set up the Control Charts manually I get the following charts.
These are as expected and exactly what I need. 3 products, 1 parameter.

When I then save these charts as Interactive HTML using the pull-down menus I get a layout pretty much the same as above.
Still 3 products and 1 paramter
So far, so good.....

However when I try to script this process using:
Set Default Directory("C:\TEMP");
Get Default Directory(); // returns "c:/temp"
cd=get default directory();
obj = Control Chart(
SendToByGroup( {:Product == "AaA"} ),
Sample Label( :Wafer ),
Group Size( 1 ),
KSigma( 3 ),
Chart Col( :Avg. of A_PRIM, Individual Measurement ),
By( :Product ),
{:Product == "AaA"},
{"Control Chart Product=AaA",
"Individual Measurement of Avg. of A_PRIM"},
"IR Chart of IM",
FrameBox,
{Frame Size( 313, 100 )}
),
{"Control Chart Product=AaA",
"Individual Measurement of Avg. of A_PRIM"},
"IR Chart of IM",
FrameBox( 2 ),
{Frame Size( 313, 100 )}
),
{:Product == "BbB"},
{"Control Chart Product=BbB",
"Individual Measurement of Avg. of A_PRIM"},
"IR Chart of IM",
FrameBox,
{Frame Size( 313, 100 )}
),
{"Control Chart Product=BbB",
"Individual Measurement of Avg. of A_PRIM"},
"IR Chart of IM",
FrameBox( 2 ),
{Frame Size( 313, 100 )}
),
{:Product == "CcC"},
{"Control Chart Product=CcC",
"Individual Measurement of Avg. of A_PRIM"},
"IR Chart of IM",
FrameBox,
{Frame Size( 313, 100 )}
),
{"Control Chart Product=CcC",
"Individual Measurement of Avg. of A_PRIM"},
"IR Chart of IM",
FrameBox( 2 ),
{Frame Size( 313, 100 )}
);
obj <<Save Interactive HTML("Product Probe Monitortest.html" );
Open("Product Probe Monitortest.html" );
I get:
Only 1 product and 1 parameter.

As may be seen Products 'AaA' and 'BbB' are missing.
How should I change the script to have them included?
In practice, I will set up these monitors for 10's of products, each having from 50 to 200 test parameters so any hints here would be much appreciated.
Many thanks,
Philip