Page 1 of 1

read data from binary file (wcp format from WinWcp)

Posted: Thu Jun 29, 2006 10:20 pm
by jaambros
Hi All,

I want to read experimental results recorded with the WinWcp program from the university of Strathclyde in Glasgow.
I have the format and c code that can do this.

I don't see a way to do it directly from neuron (no binary read())

THe only option I see is inserting the c code into a NMOD module using VERBATIM.
- is there another option ?
- Any advice or documentation on using verbatim c code in NMOD?

Thanks in advance,
Jose Ambros-Ingerson

Posted: Fri Jun 30, 2006 12:46 pm
by ted
THe only option I see is inserting the c code into a NMOD module using VERBATIM.
- is there another option ?
Nope, unless the authors of Win*** have a program that can convert their
bin files to ascii.
- Any advice or documentation on using verbatim c code in NMOD?

On NEURON's FAQ page
http://www.neuron.yale.edu/neuron/faq/general-questions
the answer to
How can I read data from a binary PClamp file?
includes a link to source code that provides an example of file reading via
C code embedded in a VERBATIM block.