From: Ekaterina B. <de....@gm...> - 2013-01-10 09:35:18
|
Dear All, Basically I have 3 questions: 1. I'm trying to get information about input and output messages for the HHChannel object, for example: for m in Na_ch.msgOut: print m.e1.path, m.e2.path, m.srcFieldsOnE1, m.destFieldsOnE2 But it seem like smth is not supported yet? /model/soma /model/soma/Na_channelError: Cinfo::srcFinfoName( 0 ): not found Error: Msg::getSrcFieldsOnE1: Failed to find field on msg soma-->Na_channel ()Error: Cinfo::destFinfoName( 0 ): not found Error: Msg::getDestFieldsOnE2: Failed to find field on msg soma-->Na_channel () or I do smth wrong? 2. I've set up two HHGates (X and Y) for HHChannel, however when I try to print the output messages for a channel it reports me 3 output messages: /model/soma/Na_channel /model/soma/Na_channel/gateX[0] /model/soma/Na_channel /model/soma/Na_channel/gateY[0] /model/soma/Na_channel /model/soma/Na_channel/gateZ[0] It's a little bit confusing..Shall it be like this? 3. When I try to print input messages for a channel it reports me: /model/soma /model/soma/Na_channel /model/soma /model/soma/Na_channel To my regret I don't know how to look at the source/destFinfoNames, probably it's too different messages. However, I set up only one message between these two elements: c_soma_NaChannel = moose.connect(soma, 'VmOut', Na_channel, 'Vm') probably this message is set up automatically and by setting it up it's set up twice? :) thank you, kind regards, Katja |