#!/usr/bin/tclsh
#------------------------------------------------------------
# This is a little script which issues an interrupt to SICS
# after five seconds
#
# Mark Koennecke, October 2006
#------------------------------------------------------------
if {$argc < 4} {
    puts stdout "Usage:\n\tinterrupt instrument localflag username password"
    exit 1
} 
source sicstcldebug.tcl
initSicsDebug [lindex $argv 0] [lindex $argv 1]
config rights [lindex $argv 2] [lindex $argv 3]
exec sleep 1
puts $socke "INT1712 3"
exit 0


 