hi, my mother languaje is spanish and i'm very confused
the user dialog box what it should be doing is that i could choose from two chn combo boxes 2 angles data from which i want to calculate the difference.
tl:dr i want to select 2 angles and Call Calculate("Ch(""ANS"") = (Ch(""L1(1,1))"") -(Ch(""L1(1,2)""))
this is by far my script in the user dialog box
'advierte de cambio de variable En ANGLE1
Sub ChnComboBox1_EventChange(ByRef This) 'Created Event Handler
Call MsgBoxDisp("Selected channel: " & ChnComboBox1.Text)
End Sub
'advierte de cambio de variable En ANGLE2
Sub ChnComboBox2_EventChange(ByRef This) 'Created Event Handler
Call MsgBoxDisp("Selected channel: " & ChnComboBox2.Text)
End Sub
'PLOTS
Sub Button1_EventClick(ByRef This) 'Created Event Handler
Call Calculate("Ch(""Result5"") = (Ch(""L1(1,1))"") -(Ch(""L1(1,2)""))
End Sub
had a lot of trouble with examples please help any advice will suffice