Hi,
I am new to JSL and need some help.. I want to get a script for variability plot but i want to pass a value that would control whether i need the variability summary report or not.. I tried the following as shown below but it seems to print variability summary report all time..
In the code below, if control is set to 1 i want the varibility summary report. If set to 0 i want to disable variability summary report...
If i hardcode it to Variability Summary Report(1) or Variability Summary Report(0) it works
control = 0;
New Window( "Variability Chart of RRAW_BER",
V List Box(
Variability Chart(
Y( :RRAW_BER ),
X( :SERIAL_NUM, :HD_PHYS_PSN, :DATA_ZONE ),
Connect Cell Means( 1 ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
Variability Summary Report( control ),
SendToReport(
Dispatch(
{"Variability Chart for RRAW_BER"},
"Variability Chart",
FrameBox,
{Row Legend(
:SPC_ID_x,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
)
)
)
)
);