I am trying to manually input a string variable that matches to one of the header of the columns so I can plot specifically choose column to plot on Y axis as needed. My script is below, but it doesn't seem to work. Hope someone can help.
User_Input = New Window( "Enter Lot Number",
<<modal(),
H List Box(
Text Box( "Enter Lot Number:" ),
lot_num_teb = Text Edit Box( "", <<set width( 200 ) ),
),
Text Box( "Click OK to save" ),
Button Box( "OK", lot_num = lot_num_teb << get text() ),
);
Linearity_Plot << Graph Builder(
Variables(
X( :Tape value ),
Y( :Name( "Historical - 1s" ) ),
Y( :Name( "Historical + 1s" ), Position( 1 ) ),
Y( :Name( "Historical - 2s" ), Position( 1 ) ),
Y( :Name( "Historical + 2s" ), Position( 1 ) ),
Y( :lot_num, Position( 1 ) ),
Page( :Feature )
)
);