{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[5]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List()  scene_list_ = new List()}
{pwman_place(0,0,0)}

//Begin PointProcessManager
{
load_file("pointman.hoc")
}
{
s ocbox_ = new PointProcessManager(0)
}
{object_push(ocbox_)}
{
mt.select("VClamp") i = mt.selected()
ms[i] = new MechanismStandard("VClamp")
ms[i].set("dur", 20, 0)
ms[i].set("dur", 100, 1)
ms[i].set("dur", 30, 2)
ms[i].set("amp", -80, 0)
ms[i].set("amp", 20, 1)
ms[i].set("amp", -80, 2)
ms[i].set("gain", 100000, 0)
ms[i].set("rstim", 1, 0)
ms[i].set("tau1", 0.001, 0)
ms[i].set("tau2", 0, 0)
ms[i].set("e0", 0.000799982, 0)
ms[i].set("vo0", -79.9982, 0)
ms[i].set("vi0", -79.9984, 0)
ms[i].set("fac", 0, 0)
mt.select("VClamp") i = mt.selected() maction(i)
hoc_ac_ = 0.5
sec.sec move() d1.flip_to(0)
}
{object_pop() doNotify()}
{
ocbox_ = ocbox_.v1
ocbox_.map("PointProcessManager", 280, 128, 183.6, 211.5)
}
objref ocbox_
//End PointProcessManager

{
xpanel("RunControl", 0)
v_init = -80
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 5
xvalue("Continue til","runStopAt", 1,"{continuerun(runStopAt) stoprun=1}", 1, 1 )
runStopIn = 1
xvalue("Continue for","runStopIn", 1,"{continuerun(t + runStopIn) stoprun=1}", 1, 1 )
xbutton("Single Step","steprun()")
t = 150
xvalue("t","t", 2 )
tstop = 150
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.05
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 20
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
screen_update_invl = 0.04
xvalue("Scrn update invl","screen_update_invl", 1,"", 0, 1 )
realtime = 0.04
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(0,126)
}
{
xpanel("RunControl", 0)
v_init = -80
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 5
xvalue("Continue til","runStopAt", 1,"{continuerun(runStopAt) stoprun=1}", 1, 1 )
runStopIn = 1
xvalue("Continue for","runStopIn", 1,"{continuerun(t + runStopIn) stoprun=1}", 1, 1 )
xbutton("Single Step","steprun()")
t = 150
xvalue("t","t", 2 )
tstop = 150
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.05
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 20
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
screen_update_invl = 0.04
xvalue("Scrn update invl","screen_update_invl", 1,"", 0, 1 )
realtime = 0.04
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(0,126)
}
{
save_window_ = new Graph(0)
save_window_.size(0,150,-80,40)
scene_vector_[2] = save_window_
{save_window_.view(0, -80, 150, 120, 510, 468, 306.9, 156.7)}
graphList[0].append(save_window_)
save_window_.save_name("graphList[0].")
save_window_.addexpr("s.v(.5)", 2, 2, 0.8, 0.9, 2)
}
{
save_window_ = new Graph(0)
save_window_.size(0,150,-0.1,2.3)
scene_vector_[3] = save_window_
{save_window_.view(0, -0.1, 150, 2.4, 510, 129, 304.2, 202.6)}
graphList[1].append(save_window_)
save_window_.save_name("graphList[1].")
save_window_.addexpr("s.ik( 0.5 )", 4, 2, 0.8, 0.9, 2)
}
objectvar scene_vector_[1]
{doNotify()}