Problem with loading .hoc

Post Reply
pong5000

Problem with loading .hoc

Post 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
Raj
Posts: 220
Joined: Thu Jun 09, 2005 1:09 pm
Location: Groningen, The Netherlands
Contact:

Post 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.
pong5000

Post by pong5000 »

I think i made a mistake. I was using Notepad. But thank you for replying so quickly.
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post 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).
Post Reply