Page 1 of 1
Problem with loading .hoc
Posted: Mon Jun 12, 2006 2:13 pm
by pong5000
I am a new user to Neuron so I installed it using the .exe that was available on the website for MS operating systems. As I was trying to go through the first tutorial, it asked me to load a .hoc file that i had created in word. Yet when i go to File>load .hoc.... I get this message:
oc>oc: Device or resource busy
nrniv: errno set during call of File[0].chooser
near line 2
{load("*.hoc", 0)}
Has anyone faced this problem before?
Thank you
Posted: Mon Jun 12, 2006 4:26 pm
by Raj
I haven't, but recently there was another problem with device busy which Michael Hines is looking into:
https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=451
Just an important aside: word is not a program editor, it has other uses but
not writing programs. Have a look at the following topic for recommendations about a good program editor:
https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=148.
Posted: Tue Jun 13, 2006 1:09 pm
by pong5000
I think i made a mistake. I was using Notepad. But thank you for replying so quickly.
Posted: Tue Jun 13, 2006 8:48 pm
by ted
Two caveats about Notepad:
First, it has almost no useful features.
Second, for some reason or other, on some PCs it has been configured to save files in
Unicode format (two bytes per character). This gags NEURON, which expects ASCII
format (one byte per character).