Hi, I double-checked locally, and things seem to work OK for me.

First I build the model:

nestml --input_path=hh_psc_alpha2.nestml --logging_level=DEBUG

Then I can instantiate the neuron and connect a multimeter:

>>> import nest
>>> nest.Install("nestmlmodule")
>>> n = nest.Create("hh_psc_alpha2")
>>> mm = nest.Create("multimeter", params={"record_from": ["I_syn_exc"]})
>>> nest.Connect(mm, n)

Could you carefully check your console log output? Perhaps there was an issue generating the code (or installing the generated .so file into the NEST Simulator directory) and you are actually working with the previous version of the model.

Yours,
Charl

On Mon, Nov 13, 2023, at 10:21, atiye nejadebrahim wrote:

Thank you Charl for your reply! I add recordable, 
        recordable inline I_syn_exc pA = convolve(K_syn_exc, exc_spikes) * nS * (V_m - E_exc) 
        recordable inline I_syn_inh pA = convolve(K_syn_inh, inh_spikes) * nS * (V_m - E_inh) 
But I faced with this error:

nest.lib.hl_api_exceptions.NESTErrors.IllegalConnection: IllegalConnection in SLI function Connect_g_g_D_D: Creation of connection is not possible because:
Cannot connect with unknown recordable I_syn_exc

Can you help me to solve it?(enclosed is the neuron model)
Thanks and BR, 
Atiyeh 


On Saturday, November 11, 2023 at 10:59:29 AM GMT+1, Charl Linssen <nest-users@turingbirds.com> wrote:


Hi Atiyeh,

If you mark the "I_syn_inh" and "I_syn_exc" inline expressions as "recordable", they can be recorded by the NEST multimeter. Just put the keyword "recordable" in front of "inline". See here for documentation on the feature: https://nestml.readthedocs.io/en/latest/nestml_language/nestml_language_concepts.html#recording-values-with-devices

Hope this helps!

Kind regards,
Charl

On Fri, Nov 10, 2023, at 12:06, atiye nejadebrahim wrote:
Dear Charl, 
yes, I add another Ion channel to the current model named hh_psc_alpha1.nestml  and make it conductance based.enclosed you can find it. 

thanks, 
Best, 
Atiyeh 




On Friday, November 10, 2023 at 11:59:07 AM GMT+1, Charl Linssen <nest-users@turingbirds.com> wrote:


Dear Atiyeh,

Could you tell us which specific neuron model(s) you are using? Are you using NESTML for the models?

Cheers,
Charl

On Fri, Nov 10, 2023, at 11:55, atiye nejadebrahim wrote:

Hello all, 
I need to record I_sys from the neurons of network, but when I use .recordables for my neuron defined, I_syn isn't included in recording. can you help me how can I make I_sys recordable?
Thanks for your help. 
Best, 
Atiyeh 
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org



_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org


Attachments:
  • hh_psc_alpha2.nestml


_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org


Attachments: