I have a fascicle in PNS, consist of 'fiberNum' fibers, I need to record from each one of these fibers,

I have tried this in HOC:

objref vvec, tvec,rcrd

tvec = new Vector(timeStepsNum)

rcrd = new Vector(timeStepsNum)

vvec = new Matrix(timeStepsNum,fiberNum)

tvec.record(&t, dt) // record time

for k=0, fiberNum-1{

rcrd.record(&node[k][node2check].v( 0.5 ), dt)

vvec.setcol(rcrd,k)

}

and this in NEURON-python :

node_v= h.Vector()

for i in range(fiberNum):

node_v.record(h.node

*[node2check](0.5)._ref_v)*

voltage[:,i]=node_v.to_python()

t=h.Vector()

t.record(h._ref_t)

and none of them are working, I mean voltage and vvec are both empty,

what is the source of the problem?

voltage[:,i]=node_v.to_python()

t=h.Vector()

t.record(h._ref_t)

and none of them are working, I mean voltage and vvec are both empty,

what is the source of the problem?