I would like to convert my script below to have 1 user input window that will prompt for Loop Number and the "NUM" integer start and finish values. I currently use this script by editing it each time I need it.
With my limited experience with user input windows I thought maybe someone might be able to help.
I also need a way to ask weather to send "ench %02d %02d" or "dsch %02d %02d".
Any Help would be appreciated.
Thanks
Ron
****************************
; this will enable or disable t-1 channels.
; Manually enter LD 60 before starting script
proc main
integer loop = 117 ;set loop number here
integer num
string sSend
for num = 1 upto 24 ;set the number of channels here
strfmt sSend "ench %02d %02d" loop num ; Edit ench/dsch and DTI loop as needed
transmit sSend
transmit "^M"
waitfor "." forever
endfor
strfmt sSend "stat %02d" loop
endproc
With my limited experience with user input windows I thought maybe someone might be able to help.
I also need a way to ask weather to send "ench %02d %02d" or "dsch %02d %02d".
Any Help would be appreciated.
Thanks
Ron
****************************
; this will enable or disable t-1 channels.
; Manually enter LD 60 before starting script
proc main
integer loop = 117 ;set loop number here
integer num
string sSend
for num = 1 upto 24 ;set the number of channels here
strfmt sSend "ench %02d %02d" loop num ; Edit ench/dsch and DTI loop as needed
transmit sSend
transmit "^M"
waitfor "." forever
endfor
strfmt sSend "stat %02d" loop
endproc