I create a new window with variability chart, and put into journal. After that i want to save into pdf. But at the last line to save into PDF, it give me error like below. and nothing is saved into pdf. Need some advice which part i am doing wrong?
Error
Send Expects Scriptable Object in access or evaluation of 'Send' , report_R235 << /*###*/SavePDF( "C:\LimTY\NXP\Product\Pegasus\Characterization\Script\data\R235;CL_per;AES128_Cal_48Mhz.pdf" ) /*###*/
My JSL script
report_R235 = New Window( "R235;CL_per;AES128_Cal_48Mhz - Variability Chart", <<Journal,
V List Box(
Variability Chart(
Y( :Data ),
X( :Name( "Data-ID" ), :Label ),
Connect Cell Means( 1 ),
Variability Summary Report( 1 ),
Std Dev Chart( 0 ),
Show Box Plots( 1 ),
Where( :Temperature == "-40C" ),
SendToReport(
Dispatch(
{"Variability Chart for Data"},
"Variability Chart",
FrameBox,
{Frame Size( 1486, 240 )}
)
)
),
Variability Chart(
Y( :Data ),
X( :Name( "Data-ID" ), :Label ),
Connect Cell Means( 1 ),
Variability Summary Report( 1 ),
Std Dev Chart( 0 ),
Show Box Plots( 1 ),
Where( :Temperature == "-26C" ),
SendToReport(
Dispatch(
{"Variability Chart for Data"},
"Variability Chart",
FrameBox,
{Frame Size( 1486, 240 )}
)
)
),
Variability Chart(
Y( :Data ),
X( :Name( "Data-ID" ), :Label ),
Connect Cell Means( 1 ),
Variability Summary Report( 1 ),
Std Dev Chart( 0 ),
Show Box Plots( 1 ),
Where( :Temperature == "30C" ),
SendToReport(
Dispatch(
{"Variability Chart for Data"},
"Variability Chart",
FrameBox,
{Frame Size( 1486, 240 )}
)
)
),
Variability Chart(
Y( :Data ),
X( :Name( "Data-ID" ), :Label ),
Connect Cell Means( 1 ),
Variability Summary Report( 1 ),
Std Dev Chart( 0 ),
Show Box Plots( 1 ),
Where( :Temperature == "95C" ),
SendToReport(
Dispatch(
{"Variability Chart for Data"},
"Variability Chart",
FrameBox,
{Frame Size( 1486, 240 )}
)
)
),
Variability Chart(
Y( :Data ),
X( :Name( "Data-ID" ), :Label ),
Connect Cell Means( 1 ),
Variability Summary Report( 1 ),
Std Dev Chart( 0 ),
Show Box Plots( 1 ),
Where( :Temperature == "125C" ),
SendToReport(
Dispatch(
{"Variability Chart for Data"},
"Variability Chart",
FrameBox,
{Frame Size( 1486, 240 )}
)
)
)
)
);
report_R235 = CurrentJournal();
report_R235 = << Set page setup(
margins( 0.1, 0.1, 0.1, 0.1 ),
scale( 0.60 ),
portrait( 0 ),
paper size( "A4" )
);
report_R235 << SavePDF("C:\LimTY\NXP\Product\Pegasus\Characterization\Script\data\R235;CL_per;AES128_Cal_48Mhz.pdf");