NetCon.event not working for me
Posted: Sat May 05, 2007 6:18 am
Hello, NetCon.event doesn't work for me, could you run the following little script and tell me what's wrong with it? When I hit the "init and run" button, there's no synaptic events at 2.5 ms as I expected ...
Code: Select all
loaderr = load_file("nrngui.hoc")
proc morpho_passive_init () {
nseg = 1
diam = 20
L = 20
insert pas
e_pas = -50
g_pas = 10 * 1e-3 / cm
}//}}}
objref biexcit, nc
create soma
soma morpho_passive_init()
soma {
biexcit = new ExpSyn(0.5)
biexcit.tau = 1
}
objref nil
nc = new NetCon(nil, biexcit)
nc.weight = .5
nc.delay = 0
v_init = -60
nc.event(2.5)
nrncontrolmenu()
newPlotV()