Search found 48 matches

by JimH
Fri Apr 19, 2013 10:20 pm
Forum: Other questions
Topic: nrniv hide launched process
Replies: 4
Views: 1176

Re: nrniv hide launched process

With regard to the nobanner, I needed to group it with the executable using quotes:

C:\nrn72\bin\bash.exe -c "/cygdrive/c/nrn72/bin/nrniv.exe -nobanner"
by JimH
Fri Apr 19, 2013 12:00 am
Forum: Other questions
Topic: nrniv hide launched process
Replies: 4
Views: 1176

Re: nrniv hide launched process

I think I got what I wanted. I needed the following:

C:\nrn72\bin\bash.exe -c /cygdrive/c/nrn72/bin/nrniv.exe

I'm not sure why it works, but it seems to. I'm having a bit of difficulty getting -nobanner to work, but that might be the way I am running my Java code.
by JimH
Thu Apr 18, 2013 10:28 pm
Forum: Other questions
Topic: nrniv hide launched process
Replies: 4
Views: 1176

Re: nrniv hide launched process

The process you mentioned works but involves opening of the rxvt window. I wasn't sure if there was a way of hiding the rxvt window on execution. Since rxvt and bash are mysteries to me, I was hoping someone might know what's going on behind the scenes and how to disable launching of the windows.
by JimH
Mon Apr 15, 2013 4:11 pm
Forum: Other questions
Topic: nrniv hide launched process
Replies: 4
Views: 1176

nrniv hide launched process

I am using Windows and looking for a way to launch NEURON without opening a window. I am currently using nrniv.exe to interact with NEURON. Would it be possible to do this through rxvt.exe or bash.exe? Using the Windows command window I am unable to launch NEURON without running neuron.exe which ope...
by JimH
Sat Jan 26, 2013 1:42 pm
Forum: Other questions
Topic: nseg shifts depolarization location - extracellular
Replies: 3
Views: 1216

Re: nseg shifts depolarization location - extracellular

Well in the process of cleaning up the code to zip and send I noticed that I was not properly iterating over the play vectors. Even though I was accessing the correct stimulus voltage given the section and segment I had currently accessed, I was assigning it to the wrong vector.
by JimH
Fri Jan 25, 2013 4:15 am
Forum: Other questions
Topic: nseg shifts depolarization location - extracellular
Replies: 3
Views: 1216

nseg shifts depolarization location - extracellular

Hi all, I've created a simple axon model with nodes and internodes. The internodes are modeled with a single section and multiple segments. The nodes are modeled as a single section and a single segment. When I provide an extracellular stimulus that is centered on the axon, the maximum depolarizatio...
by JimH
Fri Jan 25, 2013 2:48 am
Forum: Other questions
Topic: Accessing neuron variables in MATLAB
Replies: 1
Views: 1075

Re: Accessing neuron variables in MATLAB

You can setup communication with NEURON using stdin and stdout (string buffers) in Matlab. I have implemented some code which does this on github. The code has a lot more functionality and is still growing and changing but the basics are there. https://github.com/JimHokanson/matlab_NEURON Setup take...
by JimH
Fri Dec 21, 2012 5:42 pm
Forum: OS X
Topic: isatty vs notatty mac
Replies: 6
Views: 5881

Re: isatty vs notatty mac

When testing the code with the provided alpha version the terminal returns a message about an "Illegal Instruction" and the process closes. The 7.2 code will work fine. Since we were having problems with our stdin parser, we added on a magic string to our stdout following every command, which contai...
by JimH
Thu Dec 20, 2012 12:03 pm
Forum: MSWin
Topic: winio_show
Replies: 1
Views: 4948

winio_show

I tried using this method in version 7.2 and I get an error saying it doesn't exist. I think I can accomplish what I would like to by using the windows api, I just thought perhaps the documentation should up be updated if this is no longer supported, or fixed if it is supported. Thanks, Jim oc>winio...
by JimH
Tue Dec 18, 2012 2:01 pm
Forum: OS X
Topic: Neuron 7.2 Python error
Replies: 2
Views: 5546

Re: Neuron 7.2 Python error

In case anyone else runs into this problem:
I ran into this same error and I am pretty sure I got 7.2 running only by installing the developer tools.
by JimH
Tue Dec 18, 2012 10:38 am
Forum: OS X
Topic: isatty vs notatty mac
Replies: 6
Views: 5881

Re: isatty vs notatty mac

That makes sense. What I am seeing on my mac is: - isatty buffered stdout, not sure about prompt, waits until program close to flush - notatty, unbuffered stdout, no prompt, flushes when waiting for stdin This is in contrast to my windows install of 7.2 which works as would be expected. I tried the ...
by JimH
Mon Dec 17, 2012 10:21 pm
Forum: OS X
Topic: isatty vs notatty mac
Replies: 6
Views: 5881

Re: isatty vs notatty mac

I also just confirmed that -isatty does flush upon quitting the process => quit()
which I thought would happen for -notatty
by JimH
Mon Dec 17, 2012 10:09 pm
Forum: OS X
Topic: isatty vs notatty mac
Replies: 6
Views: 5881

isatty vs notatty mac

I've using Java to do ipc with NEURON on a mac. I've setup something similar using .NET on windows (and Java) and had some success. When I tried the Java code on my mac, I would not get any input back from the process. I was using the option -isatty. Changing the option to -notatty made things work,...
by JimH
Thu Aug 30, 2012 4:05 pm
Forum: Other questions
Topic: List all variables
Replies: 1
Views: 1051

List all variables

The following seems like it should be obvious, but I haven't been able to find it anywhere. How do I list all currently defined variables in the hoc interpreter?

Thanks,
Jim
by JimH
Thu Aug 30, 2012 3:49 pm
Forum: Other questions
Topic: help understanding functions
Replies: 3
Views: 1389

Re: help understanding functions

It does in fact work. I was a bit surprised that node_section_list doesn't need to be declared as a SectionList() here. Most of the examples I have seen in the documentation start off with creating a new object inside of a function, as opposed to working with one that has already been created elsewh...